Complete method verification of os-shevle

Correct the error status responses for os-shelve's methods

Part of bp:api-ref-in-rst

Change-Id: Id917c0a8bfde655ef4ca875eed5d54e82778b040
This commit is contained in:
He Jie Xu 2016-05-09 11:05:24 +08:00
parent 84952371aa
commit 6939da33e3

View File

@ -1,5 +1,4 @@
.. -*- rst -*-
.. needs:method_verification
.. needs:parameter_verification
.. needs:example_verification
.. needs:body_verification
@ -35,8 +34,7 @@ If the server status does not change to ``SHELVED`` or ``SHELVED_OFFLOADED``, th
Normal response codes: 202
Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400),
unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404)
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), conflict(409)
Request
-------
@ -84,8 +82,7 @@ If the server status does not change to ``SHELVED_OFFLOADED``, the shelve-offloa
Normal response codes: 202
Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400),
unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404)
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), conflict(409)
Request
-------
@ -133,8 +130,7 @@ If the server status does not change to ``ACTIVE``, the unshelve operation faile
Normal response codes: 202
Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400),
unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404)
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404), conflict(409)
Request
-------