venus/api-ref/source/v1/api-versions.inc
inspurericzhang c87cf723cf improve api doc format
Change-Id: I5ec8290c04ea112c14e30c6aee3568097faa62b8
2023-03-20 06:47:20 +00:00

32 lines
428 B
ReStructuredText

.. -*- rst -*-
API versions
============
List Api Versions
~~~~~~~~~~~~~~~~~
.. rest_method:: GET /
Lists information of 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