api-site/api-ref/source/image/v1/versions.inc
Anne Gentle ac4cc65cb5 Adds migrated RST + YAML files from WADL
Contains .inc files which have all the contents of the .rst files
but are grouped together for easier editing.
Contains parameters.yaml, which has all parameters in one file.
Contains request and response samples (JSON and XML) that are
pointed to from the .inc files.

Change-Id: I42d5451300f95774a3ec4df66bc95cb36795844d
2016-05-02 17:42:49 -05:00

60 lines
616 B
ReStructuredText

.. -*- rst -*-
============
API versions
============
List API versions
=================
.. rest_method:: GET /versions
Shows details for the Image service API v1.
Normal response codes: 200
Error response codes:
Request
-------
.. rest_parameters:: parameters.yaml
Response Example
----------------
.. literalinclude:: ../samples/image-versions-response.json
:language: javascript
List API versions
=================
.. rest_method:: GET /
Lists information about all Image service API versions.
Error response codes:300,
Request
-------
.. rest_parameters:: parameters.yaml