cinder/api-ref/source/v2/volumes-v2-versions.inc
junboli 65626f449f Fix version details API does not return 200 OK
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
2018-01-12 08:52:09 +08:00

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