beautypg.com

Uri: aml/access/hosts, Uri: aml/devices/robots, Uri: aml/drive/{serialnumber – HP StoreEver ESL G3 Tape Libraries User Manual

Page 19

background image

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, 403, 404, and 500

XML Response

See

“URI: aml/access/host/{WWPN}” (page 65)

for the XML Response

code.

URI: aml/access/hosts

Method

GET

Description

Retrieve a list of host resources that were seen on the SAN from
configured tape drives that are connected to the SAN.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 401, and 500

Method

POST

Description

Create a new host resource. This functionality would be used primarily
for testing purposes.

Media Type

Request: application/xml and application/json

Response: application/xml and application/json

Parameters

N/A

Response Code

201, 401, 403, 404, and 500

XML Request Data



Test Host
4
0
1234abcd:1234abcd

XML Response

See

“URI: aml/access/hosts” (page 65)

for the XML Response code.

URI: aml/devices/robots

Method

GET

Description

Retrieve a list of robot resources.

Media Type

Request: N/A

Response: application/xml and application/json

Parameters

N/A

Response Code

200, 400, 401, and 500

XML Response

See

“URI: aml/devices/robots” (page 66)

for the XML Response code.

URI: aml/drive/{serialNumber}

Method

GET

Description

Retrieve the drive resources instances with the given template 'serialNumber'.

Media Type

Request: N/A

Response: application/xml and application/json

URI: aml/access/hosts

19