keystone/api-ref/source/v2/versions.inc
Lance Bragstad f51b06a54e Correct normal response codes for v2.0 versions doc
20X and 30X http status codes don't represent errors.

Change-Id: I8a6809f89391e0cf4b59ffc5aa14607fee01c8a6
2016-07-13 20:01:00 +00:00

40 lines
686 B
ReStructuredText

.. -*- rst -*-
============
API versions
============
Show version details
====================
.. rest_method:: GET /v2.0
Shows details for the Identity API v2.0.
Normal response codes: 200,203
Error response codes: 413,405,404,403,401,400,503
Response Example
----------------
.. literalinclude:: samples/admin/version-show-response.json
:language: javascript
List versions
=============
.. rest_method:: GET /
Lists information about all Identity API versions.
Normal response codes: 200,300
Error response codes: 413,405,404,403,401,400,503
Response Example
----------------
.. literalinclude:: samples/admin/versions-list-response.json
:language: javascript