• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Cinder V3 Interfaces
  5. Snapshot
  6. Show Snapshot Metadata

Show Snapshot Metadata

Function Description

This interface is used to query the metadata of a snapshot.

Interface Format

Method

URI

Description

GET

/v3/{project_id}/snapshots/{snapshot_id}/metadata

This interface is used to query the metadata of a snapshot.

Restrictions

N/A

Expanded Interface

N/A

Request Parameter

N/A

Response Parameter

Parameter

Type

Mandatory

Remarks

metadata

Dict

Yes

Metadata of a volume

Request Example

GET https://volume.localdomain.com:8776/v3/dd14c6ac581f40059e27f5320b60bf2f/snapshots/1885b4f4-20f8-429c-a551-2394604705ce/metadata

Response Example

{
    "metadata": {
        "__openstack_region_name": "pod01.eu-de-01",
        "a": "b",
    }
}

Error Code

See section Processing Return Code.