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


Spectra S3 Bucket, Object, and Job Operations : Job Operations : Get Put Job to Replicate

Get Put Job to Replicate
Description
Returns an XML payload that represents a PUT job that a client wants to replicate to another BlackPearl gateway. This payload is intended to be forwarded to another BlackPearl gateway to replicate the PUT job using Replicate Put Job.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/job/{job UUID or unique identifier}/?replicate
To determine the UUID for a job, see Get Jobs.
Request Parameters
Responses
Response Elements
Returns an XML payload to replicate a PUT job. This payload is used as a request payload for a Replicate Put Job (see page 173).
Example
Sample Request
This request gets information for replicating the job with the UUID 104c5557-a600-4b23-b838-24c1e0d8a38a.
GET http://blackpearl-hostname/_rest_/job/104c5557-a600-4b23-b838-24c1e0d8a38a/?replicate HTTP/1.1
Sample Response
HTTP/1.1 200 OK
{"blobs":
   [{"byteOffset":0,
      "checksum":null,
      "checksumType":null,
      "id":"38403a46-79d3-4a94-aa0d-6262399eb43a",
      "length":10,
      "objectId":"5ba8892e-84d6-4886-b68d-00ff72aaf9bc"}],
   "chunks":
      [{"chunkNumber":1,
         "entries":
            [{"blobId":"38403a46-79d3-4a94-aa0d-6262399eb43a",
            "chunkId":"f40ccd1b-7a4a-417d-a928-5ff79f68ceeb",
            "id":"d1b4660e-5e68-4265-bf7e-22ec6915bb56",
            "jobId":"104c5557-a600-4b23-b838-24c1e0d8a38a",
            "orderIndex":1}],
      "id":"f40ccd1b-7a4a-417d-a928-5ff79f68ceeb"}],
   "id":"104c5557-a600-4b23-b838-24c1e0d8a38a",
   "objects":
      [{"bucketId":"8def70a9-0fcb-490d-ad9b-5538838463f6",
      "creationDate":null,
      "id":"5ba8892e-84d6-4886-b68d-00ff72aaf9bc",
      "latest":TRUE,
      "name":"o1",
      "type":"DATA",
      "version":1}]}