Spectra Logic
1-800-833-1132 : 1-303-449-6400


Hardware Operations : Tape Library and Component Operations : Get Tape Libraries

Get Tape Libraries
Description
Get a list of all tape libraries available to the BlackPearl Converged Storage System. Use parameters as selection criteria to return a subset of the list.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/tape_library[?last_page][&management_url={string}][&name={string}][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}][&serial_number={string}]
Request Parameters
Notes:  
§
Specifying both page_offset and page_start_marker causes an error.
§
If neither page_offset, nor page_start_marker are specified, the page_offset default is used.
a.
Responses
Response Elements
<Data>
   <TapeLibrary>
      <Id>{
string}</Id>
      <ManagementUrl>{string}</ManagementUrl>
      <Name>{string}</Name>
      <SerialNumber>{string}</SerialNumber>
   </TapeLibrary>
   ...
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request retrieves a list of all tape libraries available to the BlackPearl Converged Storage System.
GET http://blackpearl-hostname/_rest_/tape_library/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <TapeLibrary>
      <Id>836e1079-c726-4eae-aee4-0472d75bbae4</Id>
      <ManagementUrl>10.10.11.10</ManagementUrl>
      <Name>T950Library</Name>
      <SerialNumber>0918401</SerialNumber>
   </TapeLibrary>
   ...
</Data>