65626f449f
When use version details api http://ip:8786/v2 to get api details, it does not return 200 OK, and the return value is empty. This change is to correct the version details API URL and its sample response. Change-Id: I547dca649db22b31051b490c2b230322d3c9d479
41 lines
430 B
ReStructuredText
41 lines
430 B
ReStructuredText
.. -*- rst -*-
|
|
|
|
API versions
|
|
============
|
|
|
|
|
|
|
|
|
|
Show API v2 details
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
.. rest_method:: GET /v2/
|
|
|
|
Shows details for Block Storage API v2.
|
|
|
|
|
|
Normal response codes: 200
|
|
|
|
|
|
Request
|
|
-------
|
|
|
|
|
|
|
|
Response Parameters
|
|
-------------------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- location: location
|
|
|
|
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: ./samples/version-show-response.json
|
|
:language: javascript
|
|
|
|
|