venus/api-ref/source/v1/api-versions.inc
inspurericzhang 320518ab99 fix detail of api inc and json files
Change-Id: I81d1cd1d6d39c5fc9d2352735ad7c1e4c39a94b8
2022-09-14 09:02:20 +00:00

32 lines
441 B
ReStructuredText

.. -*- rst -*-
API versions
============
List All Api Versions
~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: GET /
Lists information for all Venus API versions.
Response codes
--------------
.. rest_status_code:: success ../status.yaml
- 1
.. rest_status_code:: error ../status.yaml
- -1
Response
--------
**Example List Api Versions: JSON response**
.. literalinclude:: ./samples/versions-response.json
:language: javascript