Skip to main content

GET – Properties for firmware update service

Use the GET method to retrieve the update service resource for Redfish service.

Request URL

GET https://<BMC_IPADDR>/redfish/v1/UpdateService

Response body

FieldTypeDescription
IdString

“UpdateService”

NameString

"Update Service"

DescriptionString

“Lenovo firmware update service”.

ServiceEnabledBoolean

True.

StatusObject

Expanded.

 HealthRollupString

"OK".

 HealthString

"OK".

 StateString

"Enabled".

ActionsObject

Expanded.

 #UpdateService.SimpleUpdateObject

Expanded.

  @Redfish.ActionInfoLink

“/redfish/v1/UpdateService/SimpleUpdateActionInfo”

  targetString

A link to the involved action.

  titleString

"SimpleUpdate".

  Targets@Redfish.AllowableValuesLink

"/redfish/v1/UpdateService/FirmwareInventory/BMC-Backup"

  TransferProtocol @Redfish.AllowableValuesArray

Allowable values for SimpleUpdate action

Item: string

Item count: 2

  TransferProtocol @Redfish.AllowableValues[N]String

"SFTP".

"TFTP".

  @Redfish.OperationApplyTimeSupportObject

Expanded

   SupportedValuesArray

Items: string

Item count: 3

    SupportedValues[N]String

“Immediate”

“OnReset”

“OnStartUpdateRequest”

HttpPushUriLink

The URI used to perform an HTTP or HTTPS push update to the Update Service. Value is “/fwupdate”.

HttpPushUriTargetsArray

Items: string

Item count: 0-1

 HttpPushUriTargets[N]String

An array of URIs that indicate where to apply the update image. It is initially blank, and the value updated by client is not kept after XCC2 reset.

HttpPushUriTargetsBusyBoolean

An indication of whether any client has reserved the HttpPushUriTargets property. The value is initially false, and is not kept after XCC2 reset.

HttpPushUriOptionsObject

Expanded

 HttpPushUriApplyTimeObject

Expanded

  ApplyTimeString

“Immediate”

  ApplyTime@Redfish.AllowableValuesArray

Items: string

Item count: 2

   ApplyTime@Redfish.AllowableValues[N]String

“Immediate”

“OnReset”

FirmwareInventoryObject

URI to the firmware info on the server

MultipartHttpPushUriString

The URI used to perform an HTTPS push update to the Service with a multipart formatted request body; value is “/mfwupdate”.

MultipartHttpPushUri@Redfish.OperationApplyTimeSupportObject

Expanded

 SupportedValuesArray

Items: string

Item count: 3

  SupportedValues[N]String

“Immediate”

“OnReset”

“OnStartUpdateRequest”

MaxImageSizeBytesInteger

250000000

RemoteServerCertificatesLink

The link of the collection of CertificateCollection.

VerifyRemoteServerCertificateBoolean

Indicates whether the Service will verify the certificate of the HTTPS server referenced by the ImageURI property in SimpleUpdate prior to sending the transfer request.

Default value is false.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"RemoteServerCertificates": {
"@odata.id": "/redfish/v1/UpdateService/RemoteServerCertificates"
},
"HttpPushUriTargets": [],
"FirmwareInventory": {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory"
},
"ServiceEnabled": true,
"MultipartHttpPushUri@Redfish.OperationApplyTimeSupport": {
"@odata.type": "#Settings.v1_3_4.OperationApplyTimeSupport",
"SupportedValues": [
"Immediate",
"OnReset",
"OnStartUpdateRequest"
]
},
"@odata.type": "#UpdateService.v1_11_0.UpdateService",
"@odata.id": "/redfish/v1/UpdateService",
"Actions": {
"#UpdateService.SimpleUpdate": {
"target": "/redfish/v1/UpdateService/Actions/UpdateService.SimpleUpdate",
"title": "SimpleUpdate",
"Targets@Redfish.AllowableValues": [
"/redfish/v1/UpdateService/FirmwareInventory/BMC-Backup"
],
"TransferProtocol@Redfish.AllowableValues": [
"TFTP",
"SFTP",
"HTTPS",
"HTTP"
],
"@Redfish.ActionInfo": "/redfish/v1/UpdateService/SimpleUpdateActionInfo",
"@Redfish.OperationApplyTimeSupport": {
"@odata.type": "#Settings.v1_3_4.OperationApplyTimeSupport",
"SupportedValues": [
"Immediate",
"OnReset",
"OnStartUpdateRequest"
]
}
},
"Oem": {
"#LenovoUpdateService.BundleRollback": {
"target": "/redfish/v1/UpdateService/Actions/Oem/LenovoUpdateService.BundleRollback",
"title": "BundleRollback"
},
"#LenovoUpdateService.UpdateFromRepository": {
"target": "/redfish/v1/UpdateService/Actions/Oem/LenovoUpdateService.UpdateFromRepository",
"title": "UpdateFromRepository"
},
"#LenovoUpdateService.GetRepoUpdateDetail": {
"target": "/redfish/v1/UpdateService/Actions/Oem/LenovoUpdateService.GetRepoUpdateDetail",
"title": "GetRepoUpdateDetail"
}
},
"#UpdateService.StartUpdate": {
"target": "/redfish/v1/UpdateService/Actions/UpdateService.StartUpdate",
"title": "StartUpdate",
"@Redfish.ActionInfo": "/redfish/v1/UpdateService/StartUpdateActionInfo"
}
},
"MaxImageSizeBytes": 250000000,
"HttpPushUriOptions": {
"HttpPushUriApplyTime": {
"ApplyTime": "Immediate",
"ApplyTime@Redfish.AllowableValues": [
"Immediate",
"OnReset"
]
}
},
"@odata.etag": "\"12fc6cd9e7d7735944e43b\"",
"HttpPushUri": "/fwupdate",
"MultipartHttpPushUri": "/mfwupdate",
"Description": "Lenovo firmware update service.",
"HttpPushUriTargetsBusy": false,
"Name": "Update Service",
"Oem": {
"Lenovo": {
"BundleRepoAvailableSpaceInKB": 2004634,
"FirmwareServices": {
"@odata.id": "/redfish/v1/UpdateService/Oem/Lenovo/FirmwareServices"
},
"@odata.type": "#LenovoUpdateService.v1_0_0.LenovoUpdateService"
}
},
"VerifyRemoteServerCertificate": false,
"@odata.context": "/redfish/v1/$metadata#UpdateService.UpdateService",
"Status": {
"HealthRollup": "OK",
"State": "Enabled",
"Health": "OK"
},
"Id": "UpdateService"
}