HP OneView REST API Reference

appliance/firmware
appliance-firmware.html[10/17/2013 10:35:50 AM]
Request Header Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Response Description
void
Response Codes
REST API Response Codes
Examples
Delete data related to upgrade task.
for example:
DELETE https://{appl}/rest/appliance/firmware/pending
URI: /rest/appliance/firmware/verificationKey
Method API
PUT Updates HP public key of the appliance. This API expects the key data in the form of
'VerificationKeyInfo' format
Request Header Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Request Body Attributes Description
VerificationKeyInfo Required Data containing HP public key in string
format
Response Description
void
Response Codes
REST API Response Codes
Examples
Update appliance HP public key using the key specified in the request
body.
for example:
PUT https://{appl}/rest/appliance/firmware/verificationKey
{
"verificationKey":"<verificationKeyString>"
}
GET Gets HP public key of the appliance
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"