Uri: aml/system/software/operations/update, Uri: aml/user_name – HP StoreEver ESL G3 Tape Libraries User Manual

Page 51

Advertising
background image

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, and 500

Method

POST

Description

Upload firmware file using form data, where the key is file and the value
is the filename.

Media Type

Request: multipart/form-data

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 400, 401, 404, and 500

XML Response

See

“URI: aml/system/software” (page 100)

for the XML Response code.

URI: aml/system/software/operations/update

Method

GET

Description

Retrieve the progress of the current update operation.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, and 500

Method

POST

Description

Install the firmware given by the firmware object.

Media Type

Request: application/xml and application/json

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

XML Request Data

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:firmware
xmlns:ns2="http://automatedMediaLibrary/">
<component>Rollback</component>
<version>665H.GS12501</version>
</ns2:firmware>

XML Response

See

“URI: aml/system/software/operations/update” (page 101)

for the

XML Response code.

URI: aml/user_name

Method

GET

Description

Retrieve the user resource instance with username name. To retrieve the
user who name is JohnDoe use the following URI: aml/user/JohnDoe.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 400, 404, and 500

Method

PUT

URI: aml/system/software/operations/update

51

Advertising