From c36fda789e56db23302dcadfa06a0e83721d47d6 Mon Sep 17 00:00:00 2001 From: tengqm Date: Thu, 5 Jan 2017 04:45:08 -0500 Subject: [PATCH] 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 --- api-ref/source/versions.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api-ref/source/versions.inc b/api-ref/source/versions.inc index 9fbecf631..552a03651 100644 --- a/api-ref/source/versions.inc +++ b/api-ref/source/versions.inc @@ -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 ===================