Get object replication policies

NAS File Storage REST API v7 Reference

Version
14.7.x
14.6.x
Audience
anonymous
Part Number
MK-92HNAS088-05

Gets object replication policies.

HTTP request syntax (URI)

GET <base_URI>/v7/storage/object-replication-policies

Return codes

Code Data Description
200 objectReplicationPolicies A list of object replication policies 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-replication-policies

Response example

HTTP/1.1 200 OK
{
        "objectReplicationPolicies" :
        [
                {
                        "destinationFilesystemName" : "ErinObjDest2",
                        "destinationIPAddress" : "172.17.59.48",
                        "destinationPort" : 59550,
                        "destinationSnapshotRuleName" : "",
                        "id" : "1c2e1672-872c-11d2-9519-49e1bb864b23",
                        "name" : "objRmtPolice",
                        "objectId" : "31633265313637322d383732632d313164322d393531392d3439653162623836346232333a3a3a303a3a3a4f49445f24232140255f56",
                        "sourceFilesystemId" : "3B7A998FB7FA575B0000000000000000",
                        "sourceSnapshotRuleName" : "",
                        "sourceVirtualServerId" : 3
                },
                {
                        "destinationFilesystemName" : "ErinDestObj3",
                        "destinationIPAddress" : "172.17.58.122",
                        "destinationPort" : 59550,
                        "destinationSnapshotRuleName" : "",
                        "id" : "13be959c-729c-11d2-9665-49e1bb864b23",
                        "name" : "objRmtPolice",
                        "objectId" : "31336265393539632d373239632d313164322d393636352d3439653162623836346232333a3a3a303a3a3a4f49445f24232140255f56",
                        "sourceFilesystemId" : "3B6BB41DC647FC060000000000000000",
                        "sourceSnapshotRuleName" : "",
                        "sourceVirtualServerId" : 4
                },
		  {
                        "destinationFilesystemName" : "fakeFs123",
                        "destinationIPAddress" : "172.17.239.141",
                        "destinationPort" : 65535,
                        "destinationSnapshotRuleName" : "",
                        "id" : "ca2e73f2-d5d7-11d3-9cff-49e1bb864b23",
                        "name" : "user1_objRepPolicy2",
                        "objectId" : "63613265373366322d643564372d313164332d396366662d3439653162623836346232333a3a3a303a3a3a4f49445f24232140255f56",
                        "sourceFilesystemId" : "3B6E4F23B46554770000000000000000",
                        "sourceSnapshotRuleName" : "",
                        "sourceVirtualServerId" : 4
                }
       ]
}