Fix the versions API for api-ref
* Add doc for request without version in the url * Add a link reference for microversion detail Part of bp:api-ref-in-rst Change-Id: Iadee4623fe70c43ad38c087e027f7e4cf01fea12
This commit is contained in:
parent
cdfbb9a668
commit
8811989bff
|
@ -1,8 +1,4 @@
|
||||||
.. -*- rst -*-
|
.. -*- rst -*-
|
||||||
.. needs:method_verification
|
|
||||||
.. needs:parameter_verification
|
|
||||||
.. needs:example_verification
|
|
||||||
.. needs:body_verification
|
|
||||||
|
|
||||||
==============
|
==============
|
||||||
API Versions
|
API Versions
|
||||||
|
@ -18,8 +14,9 @@ supports versioning. There are two kinds of versions in Nova.
|
||||||
- ''microversions'', which can be requested through the use of the
|
- ''microversions'', which can be requested through the use of the
|
||||||
``X-OpenStack-Nova-API-Version`` header
|
``X-OpenStack-Nova-API-Version`` header
|
||||||
|
|
||||||
.. TODO(sdague): build a more detailed link to using Microversions on
|
For more detail about Microversion, please reference:
|
||||||
requests.
|
`Microversions
|
||||||
|
<http://developer.openstack.org/api-guide/compute/microversions.html>`_
|
||||||
|
|
||||||
List All Major Versions
|
List All Major Versions
|
||||||
=======================
|
=======================
|
||||||
|
@ -31,14 +28,13 @@ the deployment. Links to more specific information will be provided
|
||||||
for each API version, as well as information about supported min and
|
for each API version, as well as information about supported min and
|
||||||
max microversions.
|
max microversions.
|
||||||
|
|
||||||
Normal Response Codes: 200, 300
|
Normal Response Codes: 200
|
||||||
|
|
||||||
Response
|
Response
|
||||||
--------
|
--------
|
||||||
|
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- x-openstack-request-id: x-openstack-request-id
|
|
||||||
- versions: versions
|
- versions: versions
|
||||||
- id: version_id
|
- id: version_id
|
||||||
- status: version_status
|
- status: version_status
|
||||||
|
@ -89,7 +85,6 @@ Response
|
||||||
|
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- x-openstack-request-id: x-openstack-request-id
|
|
||||||
- version: version
|
- version: version
|
||||||
- id: version_id
|
- id: version_id
|
||||||
- status: version_status
|
- status: version_status
|
||||||
|
|
Loading…
Reference in New Issue