Users Guide

Table 64. Responses
HTTP code Description Schema
200 OK <EventEntry> array
401 Access denied - not
authenticated
No content
500 Error occurred at operation. “Error” on page 201
Produces
application/json
Security
Table 65. Security
Type Name
apiKey “UserSecurity” on page 208
Example HTTP response
Response 200
[ {
"Number" : "33",
"TimeStamp" : "2017_03_23T15:22:34:636Z",
"EventCode" : "9003",
"Text" : "Move media command was executed"
}, {
"Number" : "32",
"TimeStamp" : "2017_03_23T14:53:53:629Z",
"EventCode" : "9028",
"Text" : "Configuration backup to base module was successful"
}, {
"Number" : "31",
"TimeStamp" : "2017_03_23T14:33:05:235Z",
"EventCode" : "9026",
"Text" : "Library test successfully finished"
}, {
"Number" : "30",
"TimeStamp" : "2017_03_23T14:33:04:874Z",
"EventCode" : "9003",
"Text" : "Move media command was executed"
}, {
"Number" : "29",
"TimeStamp" : "2017_03_23T14:32:18:319Z",
"EventCode" : "9003",
"Text" : "Move media command was executed"
} ]
Inventory of physical library
GET /library/inventory
Description
Returns the inventory of the physical library, including slots, drives, and I/O Stations. It also returns the
corresponding metadata that belongs to the different types of the elements.
Responses
Table 66. Responses
HTTP code Description Schema
200 OK Inventory
Appendix D. REST API for scalable tape libraries 173