cinder/api-ref/source/v1/volumes-v1-versions.inc
Andreas Jaeger f589c6e2d1 Cleanup api-ref
Remove useage of old os-api-ref version and replace with current version.

Follow other repositories and merge v1 and v2 in a single document.

Note that we need to have a single document so that preview of the
document works properly in our CI.

Change-Id: I82c8b9ca317298b3dc1f7133ce8c0e9b3503730d
2016-08-27 17:13:04 +02:00

55 lines
716 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: 200
Error response codes:300,
Request
-------
Response Example
----------------
.. literalinclude:: ./samples/versions-list-response.json
:language: javascript