glance/api-ref/source/versions/versions.inc
Brian Rosmaita 8005ee994c api-ref: add interoperable image import docs
Adds documentation of the interoperable image import process
introduced in Pike in the EXPERIMENTAL Image API v2.6.

Change-Id: Ifbedc2e5e566db084bc7028ed4239485f0d68b18
2017-08-21 10:42:36 -04:00

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