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


Spectra S3 Bucket, Object, and Job Operations : Job Operations : Get Job Chunk

Get Job Chunk
Description
Get the objects from the specified job chunk. It is more common to use GET Object operations. See Get Object.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/job_chunk/{job_chunk_id}/
To determine the UUID for a job chunk, see Create Bulk GET.
Responses
Response Elements
<Objects
   ChunkId="{
string}"
   ChunkNumber="{32‑bit integer}"
   NodeId="{string}">
   <Object
      Id="{string}"
      InCache="TRUE|FALSE"
      Latest="TRUE|FALSE"
      Length="{64‑bit integer}"
      Name="{string}"
      Offset="{64‑bit integer}"
      Version="{64‑bit integer}"/>
</Objects>
where the response elements are defined as follows:
Example
Sample Request
This request does a GET for all objects in the job chunk with the UUID f086d875-055c-45c6-acf9-7741058d95a3.
GET http://blackpearl-hostname/_rest_/_rest_/job_chunk/f086d875-055c-45c6-acf9-7741058d95a3 HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Objects
   ChunkId="f086d875-055c-45c6-acf9-7741058d95a3"
   ChunkNumber="1"
   NodeId="2e2a83ff-ecc6-44f5-9e92-f8206f01db11">
   <Object
      Id="30030d45-85ea-49ca-a2f7-6cce05452632"
      InCache="FALSE"
      Latest="TRUE"
      Length="1024"
      Name="T950.tif"
      Offset="0"
      Version=1"/>
</Objects>