cinder/api-ref/source/v2/volumes-v2-versions.inc
Sheel Rana 7f2131e3a1 Update api-ref path
api-ref path needs update to support uploading cinder api-refs to
developer.openstack.org/api-ref/block-storage

update includes
https://github.com/openstack/cinder/tree/master/api-ref/v2/source
to
https://github.com/openstack/cinder/tree/master/api-ref/source/v2

Depends-on: Id38dd0609c77b0d6bcd0d935a9312b0211134802

Implements: bp api-reference-to-rst

Change-Id: If3a058a95f1eaa8481a926183591ff0f4b23e97b
2016-08-27 16:58:10 +02:00

68 lines
779 B
ReStructuredText

.. -*- rst -*-
============
API versions
============
List API versions
=================
.. rest_method:: GET /
Lists information for all Block Storage API versions.
Normal response codes: 200
Error response codes: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
Error response codes:203,
Request
-------
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- location: location
Response Example
----------------
.. literalinclude:: ./samples/version-v2-show-response.json
:language: javascript