b8078a8e38
Show v3 API version details should not return informations about v2, meanwhile location is not in Response Parameters. Change-Id: Ida12222b3bdac10d030d56b9724f09ee097c0b3c
49 lines
710 B
ReStructuredText
49 lines
710 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_6
|
|
- min_version: version_min
|
|
- version: version_max
|
|
- media-types: media_types
|
|
- id: version_id
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: ./samples/version-show-response.json
|
|
:language: javascript
|
|
|
|
|