GET

Use the HTTP GET method with the /mgmt/status/default/FirmwareStatus2 resource to request information about the current firmware installation.

Resource URL

https://host:port/mgmt/status/default/FirmwareStatus2
Where port is 5554 by default.

Request headers

The following header must be sent with the request:
Authorization
This header must be sent to perform authentication.

Request body format

None.

Security requirements

The caller must be authenticated as an appliance user with sufficient authority. For more information about security, see Types of user and how they are authenticated and User authorization, credential mapping, and access profiles.

Response status codes

200
Status information retrieved successfully.
400
Invalid data provided.
401
Not authenticated.
The caller must be authenticated as an appliance user. See Types of user and how they are authenticated for more information.
403
Not authorized.
The caller is authenticated but does not the authority to perform this action. See User authorization, credential mapping, and access profiles for more information.

Response headers

Content-Type
This header is returned with a value of application/json.

Response body format

The response is in JSON format. The response includes information about the current firmware installation. Each object contains the following fields:
Type
String.
The type of the firmware installation type. Can be primary or secondary. The secondary firmware image is used when rolling back the firmware.
  • Primary Primary firmware install
  • Secondary Secondary firmware install
Version
String.
The version of this firmware image
Build
String.
The specific build of this firmware image.
BuildDate
String.
Date of the firmware build.
DeliveryType
String.
Indicates the delivery type.
  • LTS Long-term support (LTS) releases are intended for customers who demand the highest level of stability. Updates during the support period contain fixes to identified problems and vulnerabilities.
  • CD Continuous delivery (CD) releases add new function on a regular cadence and are intended for customers who want to exploit the latest features and capabilities without waiting for the next LTS release. Each CD release contains fixes to identified problems and vulnerabilities.
InstallDate
String.
Date that this firmware was installed.
BootCount
Integer.
The number of times the firmware image was restarted through an appliance reboot or a firmware reload. The count is from the initial firmware load on the appliance till the current time. The count is independent of firmware version.

Examples

The following example requests information about the appliance firmware.

The following URL is used with the HTTP GET method:
https://localhost:5554/mgmt/status/default/FirmwareStatus2
The following listing shows sections from the received response:
{
  "_links": {
    "self": {
      "href": "/mgmt/status/default/FirmwareStatus2"
    },
    "doc": {
      "href": "/mgmt/docs/status/FirmwareStatus2"
    }
  },
  "FirmwareStatus2": {
    "Type": "primary",
    "Version": "MQ00.9.1.2.0",
    "Build": "306735mq",
    "BuildDate": "2019/02/27 12:09:32",
    "DeliveryType": "CD",
    "InstallDate": "2019/03/07 14:13:15",
    "BootCount": 6
  }
}
}