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


Hardware Operations : Tape Library and Component Operations : Get Physical Placement for Object Parts on Tape

Get Physical Placement for Object Parts on Tape
Description
Get the list of object parts on the specified tape.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/tape/{tape UUID or barcode}?operation=GET_PHYSICAL_PLACEMENT
Request Parameters
Responses
Response Elements
<Data>
   <Object Bucket="{
string}" Id="{string}" Latest="TRUE|FALSE"
      Length="{64‑bit integer}" Name="{string}"
      Offset="{64‑bit integer}" Version="{64‑bit integer}">
   ...
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request returns a list of all object parts on the tape with the UUID 5e6d27f7-7261-4ad9-a2f3-c89791c1f7ff'.
GET http://blackpearl-hostname/_rest_/tape/5e6d27f7-7261-4ad9-a2f3-c89791c1f7ff?operation=GET_PHYSICAL_PLACEMENT HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <Object Bucket="bucket_name"
      Id="e846bc8d-2181-4cc5-a4aa-c09dcebb0133" Latest="true"
      Length="10 "Name="o1" Offset="0" Version="1">
   <Object Bucket="bucket_name"
      Id="3cf1c091-2c1a-469d-9880-6ec3fed298fd" Latest="true"
      Length="10" Name="o2" Offset="0" Version="1">
</Data>