Skip to main content

We've Moved!

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

Get all object replication reports

Gets all object replication reports.

HTTP request syntax (URI)
GET <base_URI>/v7/storage/object-replications/reports
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 objectReplicationReports All object replication reports 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/reports -X GET -d '{"objectReplicationPolicyId":"ca2e73f2-d5d7-11d3-9cff-49e1bb864b23"}'
Response example
HTTP/1.1 200 OK
{
       	  "objectReplicationReports" :
       	    [
                     {
                        "bytesRemaining" : 0,
                        "bytesTransferred" : 0,
                        "destinationSnapshotName" : "",
                        "endTime" : 1524612161,
                        "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" : "",
                        "startTime" : 1524612131,
                        "status" : "DRY_RUN_FAILED"
                     },
                     {
                        "bytesRemaining" : 0,
                        "bytesTransferred" : 0,
                        "destinationSnapshotName" : "",
                        "endTime" : 1524620621,
                        "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" : "",
                        "startTime" : 1524620591,
                        "status" : "DRY_RUN_FAILED"
                     }
          	]
}

 

  • Was this article helpful?