2.2.2. List Snapshot Summaries

Verb URI Description
GET /snapshots Lists a summary of all snapshots defined in Cinder that are accessible to the tenant who submits the request.
 

Example 2.15. List Snapshots: Request

GET /v1/snapshots
Accept: application/json
          

 

Example 2.16. List Snapshots: JSON Response

          {
    "snapshots": [
        {
            "id": "3fbbcccf-d058-4502-8844-6feeffdf4cb5",
            "display_name": "snap-001",
            "display_description": "Daily backup",
            "volume_id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c",
            "status": "available",
            "size": 10,
            "created_at": "2012-02-29T03:50:07Z"
        },
        {
            "id": "e479997c-650b-40a4-9dfe-77655818b0d2",
            "display_name": "snap-002",
            "display_description": "Weekly backup",
            "volume_id": "76b8950a-8594-4e5b-8dce-0dfa9c696358",
            "status": "available",
            "size": 25,
            "created_at": "2012-03-19T01:52:47Z"
        }
    ]
}

        

Returns status code 200 on success

[Note]Note

The response from list snapshots summary is the same as list snapshot details in v1.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page