Get a file system snapshot size
Retrieves a file system snapshot size (in bytes). The value might not match with the rounded up value displayed in Hitachi Device Manager - Storage Navigator.
HTTP request syntax (URI)
GET <base_URI>/v7/storage/filesystem-snapshots/{snapshotObjectId}/snapshot-size
Parameters
Name | Type | Required | Values | Description |
snapshotObjectId | URI_PARAM | Y | string | Unique object identity of the file system snapshot. |
Return codes
Code | Data | Description |
200 | snapshotSize | File system snapshot size 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.239.123:8444/v7/storage/filesystem-snapshots/41414531443338333030314638343733303030303030303030303030303030303a3a3a4d657 4726f2d617473656e672d736e617073686f742d30303031/snapshot-size
Response example
HTTP/1.1 200 OK { "snapshotSize" : 8388608 }