Get a snapshot schedule associated with a snapshot rule
Gets a snapshot schedule associated with a snapshot rule.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/snapshot-rules/{snapshotRuleObjectId}/schedules/{snapshotScheduleObjectId}
Parameters
Name | Type | Required | Values | Description |
snapshotRuleObjectId | URI_PARAM | Y | string | ID of the snapshot rule object. |
snapshotScheduleObjectId | URI_PARAM | Y | string | ID of the snapshot schedule object. |
Return codes
Code | Data | Description |
200 | filesystemSnapshotSchedule | A filesystemSnapshotSchedule object is returned. |
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.239.120:8444/v8/storage/snapshot-rules/343a3a3a38363539453444453845324646344541303030303030303030303030303030303a3a3a7269636b535352756c65/schedules/3330203136202a202a202a7377616d6d79406864732e636f6d3b687472696e68406864732e636f6d3a3a3a343a3a3a31
Response example
HTTP/1.1 200 OK { "filesystemSnapshotSchedule": { "emails": "user1@example.com;user2@example.com", "handle": 1, "objectId": "3330203136202a202a202a7377616d6d79406864732e636f6d3b687472696e68406864732e636f6d3a3a3a343a3a3a31", "isValid": true, "time": "30 16 * * *", "virtualServerId": 7 } }