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

Change-Id: I91d9b4ba96e53e9fe7cd593f2daf1f8a3cf7ab09
2016-09-09 18:02:53 +07:00

66 lines
732 B
ReStructuredText

.. -*- rst -*-
============
API versions
============
List API versions
=================
.. rest_method:: GET /
Lists information for all Block Storage API versions.
Normal response codes: 200, 300
Request
-------
Response Example
----------------
.. literalinclude:: ./samples/versions-response.json
:language: javascript
Show API v2 details
===================
.. rest_method:: GET /v2
Shows details for Block Storage API v2.
Normal response codes: 200
Request
-------
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- location: location
Response Example
----------------
.. literalinclude:: ./samples/version-v2-show-response.json
:language: javascript