Merge "Small change to microversion header on devref"

This commit is contained in:
Jenkins 2017-01-26 18:10:14 +00:00 committed by Gerrit Code Review
commit 8890872dcc

View File

@ -11,9 +11,13 @@ a particular version of the API. So breaking changes can be added to
the API without breaking users who don't specifically ask for it. This the API without breaking users who don't specifically ask for it. This
is done with an HTTP header ``OpenStack-API-Version`` which is done with an HTTP header ``OpenStack-API-Version`` which
is a monotonically increasing semantic version number starting from is a monotonically increasing semantic version number starting from
``3.0``. Each service that uses microversions will share this header, so ``3.0``.
the Volume service will need to specify ``volume``:
``OpenStack-API-Version: volume 3.0`` Each OpenStack service that uses microversions will share this header, so
the Volume service will need to prefix the semantic version number with the
word ``volume``::
OpenStack-API-Version: volume 3.0
If a user makes a request without specifying a version, they will get If a user makes a request without specifying a version, they will get
the ``DEFAULT_API_VERSION`` as defined in the ``DEFAULT_API_VERSION`` as defined in