cinder/api-ref/source/v3/volumes-v3-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

49 lines
721 B
ReStructuredText

.. -*- rst -*-
API version details
===================
Show API v3 details
~~~~~~~~~~~~~~~~~~~
.. rest_method:: GET /v3/
Shows details for Block Storage API v3.
Response codes
--------------
.. rest_status_code:: success ../status.yaml
- 200
.. rest_status_code:: error ../status.yaml
- 403
Request
-------
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- status: version_status
- updated: version_updated
- links: links_res
- min_version: version_min
- version: version_max
- media-types: media_types
- id: version_id
Response Example
----------------
.. literalinclude:: ./samples/versions/version-show-response.json
:language: javascript