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:
tengqm
2017-01-05 04:45:08 -05:00
parent c3d541f1d6
commit c36fda789e

View File

@@ -8,6 +8,9 @@ Concepts
The Senlin API supports a ''major versions'' expressed in request URLs and
''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
===================