cinder/api-ref/source/v3/api-versions.inc
whoami-rajat c5c5c009ff Automate generation of API versions api-ref samples
This patch adds Tests for the following :

1) API versions
2) API extensions

Change-Id: Ieaa1e2768c091b93c7afcbf04ec4a181cb021ec5
Partially-Implements: blueprint generating-sample-files
2019-01-10 19:48:18 +05:30

42 lines
540 B
ReStructuredText

.. -*- rst -*-
API versions
============
List All Api Versions
~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: GET /
Lists information for all Block Storage API versions.
Response codes
--------------
.. rest_status_code:: success ../status.yaml
- 300
.. rest_status_code:: error ../status.yaml
- 400
- 401
- 403
- 405
- 404
- 409
- 500
- 503
Request
-------
Response
--------
**Example List Api Versions: JSON request**
.. literalinclude:: ./samples/versions/versions-response.json
:language: javascript