cinder/api-ref/source/v1/volumes-v1-versions.inc
Nicholas Jones aa9cabdb42 Fix Block Storage API reference nesting
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
2017-02-09 08:37:27 -06:00

53 lines
677 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