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


Hardware Operations : Tape Library and Component Operations : Get Tape Density Directives

Get Tape Density Directives
Description
Get information about all tape density directives.
Note:
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/tape_density_directive/[?density={value}][&last_page][&page_length={32-bit integer}] [&page_offset={32-bit integer}][&page_start_marker={unique identifier or attribute}][&partition_id={value}] [&tape_type={value}]
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.
The tape format and generation of the tape cartridge.
Values:
LTO5, LTO6, LTO7, LTO_CLEANING_TAPE, TS_JC, TS_JD, TS_JK, TS_JL, TS_JY, TS_JZ, TS_CLEANING_TAPE, UNKNOWN, FORBIDDEN
Responses
Response Elements
<Data>
   <TapeDensityDirective>
      <Density>UNKNOWN|LTO5|LTO6|LTO7|TS1140|TS1150</Density>
      <Id>{
string}</Id>
     <PartitionId>{string}</PartitionId>
      <TapeType>
         LTO5|LTO6|LTO7|LTO_CLEANING_TAPE|TS_JC|TS_JD|TS_JK|          TS_JL|TS_JY|TS_JZ|TS_CLEANING_TAPE|UNKNOWN|FORBIDDEN
      </TapeType>
   <TapeDensityDirective>
   ...
</Data>
where the response elements are defined as follows:
The tape format and generation of the tape cartridge.
Values:
LTO5, LTO6, LTO7, LTO_CLEANING_TAPE, TS_JC, TS_JD, TS_JK, TS_JL, TS_JY, TS_JZ, TS_CLEANING_TAPE, UNKNOWN, FORBIDDEN
Example
Sample Request
This request gets information about all tape density directives.
GET http://blackpearl-hostname/_rest_/tape_density_directive
HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <TapeDensityDirective>
      <Density>TS1140</Density>
      <Id>67d32a56-cbc4-43e1-9a1b-64afbb14e731</Id>
      <PartitionId>
         0e4ee22f-de59-4e4e-b053-15487fa194e4
      </PartitionId>
      <TapeType>TS_JC</TapeType>
   </TapeDensityDirective>
   <TapeDensityDirective>
      <Density>TS1140</Density>
      <Id>ee94c349-d421-4a27-a21a-17d1a7c1bb6c</Id>
      <PartitionId>
         b11f1a5f-30a2-41c0-8962-288d9a6f84c8
      </PartitionId>
      <TapeType>TS_JC</TapeType>
   </TapeDensityDirective>
</Data>