• Native OpenStack API

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

Show Volume Metadata

Function Description

This interface is used to query the volume metadata.

Interface Format

Method

URI

Description

GET

/v3/{project_id}/volumes/{volume_id}/metadata

This interface is used to query the volume metadata.

Restrictions

N/A

Extension Description

N/A

Request Parameter

N/A

Response Parameter

Parameter

Type

Mandatory

Description

User customization

String

No

Specifies the key pair of the metadata.

Request Example

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

Response Example

{
    "metadata": {
        "__openstack_region_name": "pod01.eu-de-01",
        "a": "b",
        "quantityGB": "1",
        "volInfoUrl": "fusionstorage://172.30.64.10/0/8811269B1C97453E83EE7A4A1813972C"
    }
}

Error Code

See section Processing Return Code.