Update api-ref with 409 response to image update.

With the change [1] that went into Newton to disallow image location
updates except for 'queued' and 'active' states, this patch adds
appropriate api-ref documentation. Related change [2] bumps the minor
API version to 2.4.

[1] https://review.openstack.org/324012
[2] https://review.openstack.org/350809

Change-Id: I593ad2d3c7402c4fb87a475c8d44060baed5ff69
Closes-Bug: 1621236
This commit is contained in:
Alexander Bashmakov 2016-09-14 13:19:23 -07:00
parent 48ee8ef479
commit e170225f3f

View File

@ -476,13 +476,17 @@ fail with a 403 (Forbidden) response code:
:ref:`Image Schema <image-schema>`.
- An attempt to create or modify image properties for which you do not have
permission to do so. This depends upon how property protections are
configured in the OpenStack cloud in which you are making the call. Consult
your cloud's documentation for details.
permission to do so *(since Image API v2.2)*. This depends upon how property
protections are configured in the OpenStack cloud in which you are making the
call. Consult your cloud's documentation for details.
Attempting to add a location path to an image that is not in ``queued`` or
``active`` state will result in a 409 (Conflict) response code
*(since Image API v2.4)*.
Normal response codes: 200
Error response codes: 400, 401, 403, 404, 413, 415
Error response codes: 400, 401, 403, 404, 409, 413, 415
Request