Explicitly state that 406 will be raised
This patch adds some text to the API reference stating that users may get a 406 exception if the micro-version specified is out of range. Change-Id: If48b6f39733cdf57cdd3a726123ddeca990d10a8
This commit is contained in:
@@ -8,6 +8,9 @@ Concepts
|
|||||||
The Senlin API supports a ''major versions'' expressed in request URLs and
|
The Senlin API supports a ''major versions'' expressed in request URLs and
|
||||||
''microversions'' which can be sent in HTTP header ``OpenStack-API-Version``.
|
''microversions'' which can be sent in HTTP header ``OpenStack-API-Version``.
|
||||||
|
|
||||||
|
When the specified ``OpenStack-API-Version`` is not supported by the API
|
||||||
|
service, a 406 (NotAcceptable) exception will be raised. Note that this applies
|
||||||
|
to all API requests documented in this guide.
|
||||||
|
|
||||||
List Major Versions
|
List Major Versions
|
||||||
===================
|
===================
|
||||||
|
Reference in New Issue
Block a user