Gets replication snapshots from a target (destination) of a file system.
HTTP request syntax (URI)
GET <base_URI>/v7/storage/filesystems/{id}/replication-snapshots
Parameters
Name | Type | Required | Values | Description |
---|---|---|---|---|
id | URI_PARAM | Y | string | Specifies either the file system object ID or the HNAS storage file system ID. |
Return codes
Code | Data | Description |
---|---|---|
200 | replicationSnapshotDetails | A list of replication snapshot details from a file system successfully retrieved. |
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.57.75:8444/v7/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" } ] }