Files
keystone/api-ref/source/v2/versions.inc
Samuel de Medeiros Queiroz 3bfb08e4b1 Migrate identity /v2 docs from api-ref repo
Docs at [1] have already been converted from WADL (SGML / XML) to RST
using fairy-slipper [2].

This commit polishes the results from the conversion and migrates the v2
docs to our repository under 'api-ref/source' directory. Missing
parameters definitions were added.

Polishing the generated RST files include:
- Removing unnecessary blank lines;
- Removing empty references.

Polishing the generated RST files do not include:
- Modifying their content;
- Modifying file names;
- Wrapping lines at the maximum of 79 chars.

Updating the documentation will be done after this migration step.

[1] https://github.com/openstack/api-site/tree/master/api-ref/source/identity/v3
[2] https://github.com/russell/fairy-slipper

Change-Id: Id21d94a73f601561cb5f3e00ae25f4a5e4087716
2016-06-28 18:52:47 +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
Error response codes:203,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
Error response codes:300,413,405,404,403,401,400,503,
Response Example
----------------
.. literalinclude:: samples/admin/versions-list-response.json
:language: javascript