Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Get an object replication last report

Gets an object replication last report.

HTTP request syntax (URI)
GET <base_URI>/v7/storage/object-replications/last-report
Parameters
Name Type Required Values Description
objectReplicationPolicyId BODY Y string ID of an object replication policy.
logIncluded BODY N boolean True for log included.
Return codes
Code Data Description
200 objectReplicationReport An object replication last report retrieved successfully.
400 No Data Missing or invalid request contents.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.
501 No Data Server has not implemented the request operation on the resource.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v7/storage/object-replications/last-report -X GET -d '{"objectReplicationPolicyId":"ca2e73f2-d5d7-11d3-9cff-49e1bb864b23"}'
Response example
HTTP/1.1 200 OK
  {
 	    "objectReplicationReport" :
       		 {
                			"bytesRemaining" : 0,
                			"bytesTransferred" : 0,
                			"destinationSnapshotName" : "",
                			"endTime" : 1524783484,
                			"extraStatusMessage" : "Failed to negotiate object replication with target",
                			"log" : "",
                			"objectsRemaining" : 0,
                			"objectsTransferred" : 0,
                			"policyId" : "ca2e73f2-d5d7-11d3-9cff-49e1bb864b23",
                			"policyName" : "xyz_orp2",
                			"policyTarget" : "172.17.239.168",
                			"policyTargetFilesystemLabel" : "fakeFs222",
                			"sourceIncrementalBaseSnapshotName" : "",
                			"sourceSnapshotName" : "AUTO_SNAPSHOT_ca2e73f2-d5d7-11d3-9cff-49e1bb864b23_1",
                			"startTime" : 1524783454,
                			"status" : "FAILED"
        		}
	}

 

  • Was this article helpful?