HP OneView REST API Reference

appliance/firmware
appliance-firmware.html[10/17/2013 10:35:50 AM]
Use this API to get the document content of uploaded file (upgrade
image)
{tarFileName} default: update.bin
{documentType} for ReleaseNotes document: release
for example:
The following GET request will retrieve you the release notes of the
upgrade package.
GET https://{appl}/rest/appliance/firmware/document-
content/<update_filename>.bin/release
URI: /rest/appliance/firmware/image
Method API
POST Uploads upgrade image sent from client. It takes 'MultipartFile' as input. It also performs validation
on the received upgrade image file.
Parameter Attributes Description
file Required Uploaded upgrade image
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
UpgradeInfo Contains properties of the image uploaded for update
Response Codes
REST API Response Codes
Examples
To upload update.bin
POST https://{appl}/rest/appliance/firmware/image
URI: /rest/appliance/firmware/notification
Method API
GET Gets the status of the upgrade task once after the upgrade completes. Subsequent call after the
particular upgrade does not return any notification.
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
UpgradeNotificationInfo Contains status details of latest appliance
upgrade