heat/api-ref/source/v1/versions.inc
Andreas Jaeger 6529a2ebd7 Fix api-ref build with Sphinx 1.5
Sphinx 1.5 is more picky about some code, it complaints if code-blocks
are not valid json and also about too short underlines.

Fix one json file, fix underlines, change code-blocks to none so that
Sphinx 1.5 builds this again.

Enable treating warnings as errors to avoid regressions. Note that with
current tools there are no double stanza warnings anymore.

Change-Id: I58d1452ffddf091d56dcfad8140caba084800a0e
2017-03-07 09:34:00 +00:00

42 lines
646 B
ReStructuredText

.. -*- rst -*-
============
API versions
============
List versions
=============
.. rest_method:: GET /
Lists all Orchestration API versions.
Response Codes
--------------
.. rest_status_code:: success status.yaml
- 300
Request Parameters
------------------
This operation does not accept a request body.
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- X-Openstack-Request-Id: request_id
- versions: versions
- id: version_id
- status: version_status
- links: links
Response Example
----------------
.. literalinclude:: samples/versions-list-response.json
:language: javascript