
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
55 lines
706 B
ReStructuredText
55 lines
706 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
|
|
=================
|
|
|
|
.. 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
|