
Keystone API v2 was deprecated in Mitaka and uses "project" instead of "tenant" in V3 now. This patch change the "tenant" to "project" in Cinder API v3 doc. Change-Id: I06d400f3e38d78014e9eae89b29b075adaecffe4
47 lines
1.1 KiB
ReStructuredText
47 lines
1.1 KiB
ReStructuredText
.. -*- rst -*-
|
|
|
|
===================================================
|
|
Volume image metadata extension (os-vol-image-meta)
|
|
===================================================
|
|
|
|
Shows image metadata that is associated with a volume.
|
|
|
|
|
|
Show image metadata for a volume
|
|
================================
|
|
|
|
.. rest_method:: GET /v3/{project_id}/os-vol-image-meta
|
|
|
|
Shows image metadata for a volume.
|
|
|
|
When the request is made, the caller must specify a reference to an
|
|
existing storage volume in the ``ref`` element. Each storage driver
|
|
may interpret the existing storage volume reference differently but
|
|
should accept a reference structure containing either a ``source-
|
|
volume-id`` or ``source-volume-name`` element, if possible.
|
|
|
|
Error response codes:202,
|
|
|
|
|
|
Request
|
|
-------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- description: description
|
|
- availability_zone: availability_zone
|
|
- bootable: bootable
|
|
- volume_type: volume_type
|
|
- name: name
|
|
- volume: volume
|
|
- host: host
|
|
- ref: ref
|
|
- metadata: metadata
|
|
- project_id: project_id_path
|
|
|
|
Request Example
|
|
---------------
|
|
|
|
.. literalinclude:: ./samples/image-metadata-show-request.json
|
|
:language: javascript
|