venus/api-ref/source/v1/api-versions.inc
inspurericzhang 71a1ace424 detail fixed
Change-Id: Ic16d2ed42d76f89681574dd53f3e43e0a22d5b9b
2023-02-23 10:29:38 +00:00

32 lines
432 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