Getting started – HP StoreEver ESL G3 Tape Libraries User Manual
Page 12
For example, using the curl utility, where –b specifies the file where the original cookie is stored,
and –X specifies the type of HTTP command to issue:
curl -b cookie.txt -X DELETE http://library1.mydomain.com/aml/users/login
The library will return:
200
Getting started
The outline below links typical library and drive operations to their Web Services URIs. This is not
a complete list of every command available, but provides an easy reference to get started.
For example, using the curl utility, you can quickly retrieve the library version and configuration
information, where –b specifies the file where the original cookie is stored and –X specifies the
type of HTTP command to issue:
curl -b cookie.txt -X GET
http://library1.mydomain.com/aml/physicalLibrary
The library will return data similar to the following:
Below is a list of commands for requesting basic information:
•
Basic discovery or ‘ping’:
•
Library version and configuration info:
“URI: aml/physicalLibrary” (page 41)
•
Robot information:
“URI: aml/devices/robots” (page 19)
•
Drive information:
•
Media information:
•
Sensor information:
“URI: aml/system/sensors” (page 50)
12
Interface description