Owner's manual
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:host xmlns:ns2="http://automatedMediaLibrary/">
<name>Test Host</name>
<type>4</type>
<mode>0</mode>
<WWPN>1234abcd:1234abcd</WWPN>
</ns2:host>
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