The following request gets information about the snapshot for the specified master volume ID of the snapshot and the specified snapshot ID.
Execution permission
Storage Administrator (View Only)
Request line
GET base-URL/simple/v1/objects/snapshots/object-ID
Request message
- Object ID
-
Specify the id value obtained by requesting snapshot information. The value of the id attribute is obtained in the following format, where the master volume ID of the snapshot and the snapshot ID are linked by a comma. You can specify these values (obtained by getting snapshot information) in the command by using the same format: masterVolumeId followed by snapshotId, linked by a comma.
masterVolumeId,snapshotId
Attribute
Type
Description
masterVolumeId
int
(Required) Master volume ID of the snapshot
snapshotId
int
(Required) Snapshot ID
Response message
- Body
-
The following is an example of the output when getting information about a specific snapshot (master volume ID of the snapshot: 100, snapshot ID: 3).
{ "id": "100,3", "masterVolumeId": 100, "snapshotId": 3, "status": "Completed", "snapshotDate": "2015-03-20T09:27:35Z", "snapshotGroupName": "snapshotGroup", "rootVolumeId": 100, "type": "Snapshot", "poolId": 10, "usedCapacityPerRootVolume": 126, "isVolumeCapacityExpanding": false }
Status codes
See HTTP status codes.
Coding example
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session b74777a3f9f04ea8bd8f09847fac48d3" -X GET https://192.0.2.100/ConfigurationManager/simple/v1/objects/snapshots/100,3