Merge "placement: Document request headers in api-ref"
This commit is contained in:
commit
8fd2fb3984
@ -8,6 +8,10 @@ This is a reference for the Openstack Placement API. To learn more about
|
|||||||
Openstack Placement API concepts, please refer to the
|
Openstack Placement API concepts, please refer to the
|
||||||
`Placement Introduction <https://docs.openstack.org/nova/latest/user/placement.html>`_.
|
`Placement Introduction <https://docs.openstack.org/nova/latest/user/placement.html>`_.
|
||||||
|
|
||||||
|
The Placement API uses JSON for data exchange. As such, the ``Content-Type``
|
||||||
|
header for APIs sending data payloads in the request body (i.e. ``PUT`` and
|
||||||
|
``POST``) must be set to ``application/json`` unless otherwise noted.
|
||||||
|
|
||||||
.. rest_expand_all::
|
.. rest_expand_all::
|
||||||
|
|
||||||
.. include:: root.inc
|
.. include:: root.inc
|
||||||
|
@ -1,6 +1,23 @@
|
|||||||
========
|
============
|
||||||
Versions
|
API Versions
|
||||||
========
|
============
|
||||||
|
|
||||||
|
In order to bring new features to users over time, the Placement API
|
||||||
|
supports microversioning. Microversions allow use of certain features on a
|
||||||
|
per-request basis via the ``OpenStack-API-Version`` header. For example, to
|
||||||
|
request microversion 1.10, specify the header::
|
||||||
|
|
||||||
|
Openstack-API-Version: placement 1.10
|
||||||
|
|
||||||
|
For more details about Microversions, please reference:
|
||||||
|
`Microversions
|
||||||
|
<https://developer.openstack.org/api-guide/compute/microversions.html>`_
|
||||||
|
|
||||||
|
.. note:: The maximum microversion supported by each release varies.
|
||||||
|
Please reference:
|
||||||
|
`REST API Version History
|
||||||
|
<https://docs.openstack.org/nova/latest/user/placement.html#rest-api-version-history>`__
|
||||||
|
for API microversion history details.
|
||||||
|
|
||||||
List Versions
|
List Versions
|
||||||
=============
|
=============
|
||||||
|
Loading…
x
Reference in New Issue
Block a user