designate/api-ref/source/dns-api-v2-version.inc
sonu.kumar 96bff5ce77 Improve response codes display in api-ref docs
Change-Id: I9fc35783dfd2732be03b10ab67ddd9c6b8137ad4
2016-05-20 11:34:28 +09:00

38 lines
516 B
PHP

============
API Versions
============
Show all enabled API versions
List all API versions
=====================
.. rest_method:: GET /
Normal response codes: 200
Error response codes: 405,404,403,401,400,503
Request
-------
No parameters needed
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- x-openstack-request-id: x-openstack-request-id
Response Example
----------------
.. literalinclude:: samples/versions/get-versions-response.json
:language: javascript