beautypg.com

Uri: aml/drives, Uri: aml/drives/firmware/image/{name, Uri: aml/drives/firmware/images – HP StoreEver ESL G3 Tape Libraries User Manual

Page 22

background image

To take a drive with serial number HU1041D06V offline you would
use the following URI: aml/drive/HU1041D06V/mode, with the
TEXT REQUEST DATA

below.

Media Type

Request: text/plain and application/json

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

Test Request Data

2

XML Response

See

“URI: aml/drive/{serialNumber}/mode” (page 69)

for the XML

Response code.

URI: aml/drives

Method

GET

Description

Retrieve all drive resources instances. To filter the number of drives you want
to receive use the query parameters described below.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

Query parameter names are partition and status. The valid values for
the named parameter are as follows:

partition

—partition name

status

—available or used

Use the following to retrieve drives:

aml/drives

—retrieve all the drives in the library

aml/drives?status=available

—retrieve all drives not belonging

to a partition

aml/drives?partition=Sales

—retrieve all drives belonging to a

partition named Sales

Response Code

200, 401, and 500

XML Response

See

“URI: aml/drives” (page 70)

for the XML Response code.

URI: aml/drives/firmware/image/{name}

Method

DELETE

Description

Deletes the specified drive firmware file given by the name path parameter.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 404, and 500

XML Response

See

“URI: aml/drives/firmware/image/{name}” (page 71)

for the XML

Response code.

URI: aml/drives/firmware/images

Method

GET

Description

Retrieves a list of the currently installed firmware images.

22

Resource