aa9cabdb42
Modifies heading levels in .inc files to allow nested display in table of contents. Table of contents depth has been changed to allow this. Change-Id: I3d8c9cf38a12272f0d32d3aa183d741277767535
65 lines
719 B
ReStructuredText
65 lines
719 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
|
|
|
|
|