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


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

Get Completed Job
Description
Get information about the specified completed job.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/completed_job/{job UUID or other unique identifier}/
To determine the UUID for a job, see Get Completed Jobs.
Responses
Response Elements
<Data>
   <BucketId>{
string}</BucketId>
   <CachedSizeInBytes>{64‑bit integer}</CachedSizeInBytes>
   <ChunkClientProcessingOrderGuarantee>
      IN_ORDER|NONE
   </ChunkClientProcessingOrderGuarantee>
   <CompletedSizeInBytes>{64‑bit integer}</CompletedSizeInBytes>
   <CreatedAt>YYYY-MM-DDThh:mm:ss.xxxZ</CreatedAt>
   <DateCompleted>YYYY-MM-DDThh:mm:ss.xxxZ</DateCompleted>
   <ErrorMessage>{string}</ErrorMessage>
   <Id>{string}</Id>
   <Naked>TRUE|FALSE</Naked>
   <Name>{string}</Name>
   <OriginalSizeInBytes>{64‑bit integer}</OriginalSizeInBytes>
   <Priority>CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND</Priority>
   <Rechunked>{YYYY-MM-DDThh:mm:ss.xxxZ}</Rechunked>
   <RequestType>GET|PUT|VERIFY</RequestType>
   <Truncated>TRUE|FALSE</Truncated>
   <UserId>{string}</UserId>
</Data>
 
where the response elements are defined as follows:
The amount of data that has been transferred to the cache for this job. For RequestType=PUT, this is the amount of data successfully transferred to the BlackPearl Converged Storage System from the client. For RequestType=GET, this the amount of data either in cache originally, or loaded into cache from the permanent data store. For RequestType=VERIFY, this the amount of data loaded into cache from the permanent data store.
The amount of data that is completely processed for this job. For RequestType=PUT, this indicates the amount of data written to all permanent data stores. For RequestType=GET, this indicates the amount of data that has been read successfully by the client. For RequestType=VERIFY, this indicates the amount of data for which the CRC has been verified.
Whether the job was created as the result of a native S3 command (TRUE) or a Create Bulk GET/PUT/VERIFY job command (FALSE). Values: TRUE, FALSE
The date and time, in the format YYYY-MM-DDThh:mm:ss.xxxZ, when a chunk of a GET or VERIFY job had to be re-chunked to target other media due to the original target becoming unavailable or corrupt. If this attribute is null, then the job was not rechunked.
Example
Sample Request
This request gets information about the completed job with the UUID bfa6dda7-891a-482a-be20-a863e7fa217d.
GET http://blackpearl-hostname/_rest_/completed_job/bfa6dda7-891a-482a-be20-a863e7fa217d HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <Aggregating>FALSE</Aggregating>
   <BucketId>368a7443-1c85-4c90-94f2-dc788ab80f84</BucketId>
   <CachedSizeInBytes>0</CachedSizeInBytes>
   <ChunkClientProcessingOrderGuarantee>
      IN_ORDER
   </ChunkClientProcessingOrderGuarantee>
   <CompletedSizeInBytes>0</CompletedSizeInBytes>
   <CreatedAt>2016-05-19T00:48:11.000Z</CreatedAt>
   <DateCompleted>2016-05-19T00:48:11.000Z</DateCompleted>
   <ErrorMessage/>
   <Id>bfa6dda7-891a-482a-be20-a863e7fa217d</Id>
   <MinimizeSpanningAcrossMedia>
      FALSE
   </MinimizeSpanningAcrossMedia>
   <Naked>FALSE</Naked>
   <Name>Untitled</Name>
   <OriginalSizeInBytes>0</OriginalSizeInBytes>
   <Priority>URGENT</Priority>
   <Rechunked/>
   <RequestType>PUT</RequestType>
   <Truncated>FALSE</Truncated>
   <UserId>23eefce6-041d-46bb-b3ad-55ffddafa579</UserId>
</Data>