venus/api-ref/source/v1/api-versions.inc
howardlee 14928a697d Unify interface description
Change-Id: I70662a6a4873539a6229d3b53ae04da8b04fd733
2023-08-22 10:51:12 +08: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