Verb | URI | Description |
POST | /snapshots | Create a snapshot of specified volume. |
Example 2.13. Create Snapshot: JSON Request
POST /v1/snapshots Content-Type: application/json Accept: application/json
{ "snapshot": { "display_name": "snap-001", "display_description": "Daily backup", "volume_id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c", "force": true } }
Example 2.14. Create Snapshot: JSON Response
{ "snapshot": { "created_at": "2013-02-19T00:24:54.179025", "display_description": "Daily backup", "display_name": "snap-001", "id": "2d843196-eff1-4a0c-980e-10fee5df2bea", "size": 10, "status": "creating", "volume_id": "da450d0c-0920-4785-80dd-b024515200ce" } }
Returns status code 202 on success