a1284a5f43
This patch corrects reponses code in Cinder API v2. Change-Id: I91d9b4ba96e53e9fe7cd593f2daf1f8a3cf7ab09
66 lines
732 B
ReStructuredText
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
|
|
|
|
|