c5c5c009ff
This patch adds Tests for the following : 1) API versions 2) API extensions Change-Id: Ieaa1e2768c091b93c7afcbf04ec4a181cb021ec5 Partially-Implements: blueprint generating-sample-files
42 lines
540 B
ReStructuredText
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
|