8005ee994c
Adds documentation of the interoperable image import process introduced in Pike in the EXPERIMENTAL Image API v2.6. Change-Id: Ifbedc2e5e566db084bc7028ed4239485f0d68b18
59 lines
798 B
ReStructuredText
59 lines
798 B
ReStructuredText
.. -*- rst -*-
|
|
|
|
.. _versions-call:
|
|
|
|
API versions
|
|
************
|
|
|
|
|
|
List API versions
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
.. rest_method:: GET /versions
|
|
|
|
Lists information about all Image service API versions supported by this
|
|
deployment, including the URIs.
|
|
|
|
|
|
Normal response codes: 200
|
|
|
|
|
|
Request
|
|
-------
|
|
|
|
There are no request parameters.
|
|
|
|
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: samples/image-versions-response.json
|
|
:language: json
|
|
|
|
|
|
List API versions
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
.. rest_method:: GET /
|
|
|
|
Lists information about all Image service API versions supported by this
|
|
deployment, including the URIs.
|
|
|
|
|
|
|
|
Normal response codes: 300
|
|
|
|
|
|
Request
|
|
-------
|
|
|
|
There are no request parameters.
|
|
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: samples/image-versions-response.json
|
|
:language: json
|