Get replication snapshots from a target (destination)
Gets replication snapshots from a target (destination) of a file system.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/filesystems/{filesystemId}/replication-snapshots
Parameters
Name | Type | Required | Values | Description |
filesystemId | URI_PARAM | Y | string | Either the file system object ID or HNAS file system ID. |
Return codes
Code | Data | Description |
200 | replicationSnapshotDetails | A list of replication snapshot details from a file system successfully retrieved. |
400 | Error Message | Missing or invalid request contents. |
404 | Error Message | Requested resource not found. |
500 | Error message | Error associated with the storage system. |
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.57.75:8444/v8/storage/filesystems/3B7B298BBCE736650000000000000000/replication-snapshots
Response example
HTTP/1.1 200 OK { "replicationSnapshotDetails": [ { "replicationSnapshotStatus": "REPLICATION_TARGET_COMPLETE", "replicationType": "INCREMENTAL", "sourceFilesystemId": "3B6BB41DC647FC060000000000000000", "sourceSnapshotName": "AUTO_SNAPSHOT_ec0545e4-a3c9-11d4-9797-49e1bb864b23_2", "sourceSnapshotTime": 1546817620, "targetFilesystemId": "86589FF84F28BA590000000000000000", "targetSnapshotName": "AUTO_SNAPSHOT_TARGET_2" } ] }