cinder/api-ref/source/v1/volumes-v1-versions.inc
Ha Van Tu e82d639e96 [api-ref] Correct response code in Cinder API v1
This patch corrects reponses code in Cinder API v1

Change-Id: I3491f0af455b30a6db66dc38ae3983e8799aa851
2016-09-08 11:53:36 +07:00

54 lines
690 B
ReStructuredText

.. -*- rst -*-
============
API versions
============
Lists information about API versions.
Show API v1 details
===================
.. rest_method:: GET /v1
Shows Block Storage API v1 details.
Normal response codes: 200
Error response codes:203,
Request
-------
Response Example
----------------
.. literalinclude:: ./samples/version-show-response.json
:language: javascript
List API versions (v1)
======================
.. rest_method:: GET /
Lists information about all Block Storage API versions.
Normal response codes: 300
Request
-------
Response Example
----------------
.. literalinclude:: ./samples/versions-list-response.json
:language: javascript