Show snapshot information

 
MethodURIDescription
GET/v2/{tenant_id}/snapshots/{snapshot_id}

Shows information for a specified snapshot.

Normal response codes: 200

 Request

This table shows the URI parameters for the show snapshot information request:

NameTypeDescription

{tenant_id}

​String

The unique identifier of the tenant or account.

{snapshot_id}

​U​U​ID

The unique identifier of an existing snapshot.

This operation does not require a request body.

 Response

 

Example 3.23. Show snapshot information: XML response

<?xml version='1.0' encoding='UTF-8'?>
<snapshot
  xmlns:os-extended-snapshot-attributes="http://docs.openstack.org/openstack-block-storage/2.0/content/Extended_Snapshot_Attributes.html"
  status="available" description="Very important"
  created_at="2013-02-25 04:13:17"
  volume_id="5aa119a8-d25b-45a7-8d1b-88e127885635" size="1"
  id="2bb856e1-b3d8-4432-a858-09e4ce939389" name="snap-001"
  os-extended-snapshot-attributes:project_id="0c2eba2c5af04d3f9e9d0d410b371fde"
  os-extended-snapshot-attributes:progress="100%">
  <metadata/>
</snapshot>

 

Example 3.24. Show snapshot information: JSON response

{
   "snapshot":{
      "status":"available",
      "os-extended-snapshot-attributes:progress":"100%",
      "description":"Daily backup",
      "created_at":"2013-02-25T04:13:17.000000",
      "metadata":{

      },
      "volume_id":"5aa119a8-d25b-45a7-8d1b-88e127885635",
      "os-extended-snapshot-attributes:project_id":"0c2eba2c5af04d3f9e9d0d410b371fde",
      "size":1,
      "id":"2bb856e1-b3d8-4432-a858-09e4ce939389",
      "name":"snap-001"
   }
}

This operation does not return a response body.

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