venus/api-ref/source/v1/api-versions.inc
inspurericzhang e081495a54 Add first api doc: the api versions
Change-Id: Ib0ce1f9b991bfcab6c89747a088c5e3d008c0900
2022-09-07 02:30:58 +00:00

32 lines
440 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
- 0
.. rest_status_code:: error ../status.yaml
- -1
Response
--------
**Example List Api Versions: JSON request**
.. literalinclude:: ./samples/versions-response.json
:language: javascript