summaryrefslogtreecommitdiff
path: root/api-ref/source/servers-action-shelve.inc
diff options
context:
space:
mode:
authorHe Jie Xu <hejie.xu@intel.com>2016-05-09 11:05:24 +0800
committerHe Jie Xu <hejie.xu@intel.com>2016-05-09 11:08:13 +0800
commit6939da33e32ca79752d727ea6299e6ab3d358490 (patch)
treef914d63298d9c35a832a9984989d57beb1dfbfa7 /api-ref/source/servers-action-shelve.inc
parent84952371aa66a4bc983f82fb296549fcec4cb154 (diff)
downloadnova-6939da33e32ca79752d727ea6299e6ab3d358490.tar.gz
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
Diffstat (limited to 'api-ref/source/servers-action-shelve.inc')
-rw-r--r--api-ref/source/servers-action-shelve.inc10
1 files changed, 3 insertions, 7 deletions
diff --git a/api-ref/source/servers-action-shelve.inc b/api-ref/source/servers-action-shelve.inc
index 288db0d2f2..c17d35fb7c 100644
--- a/api-ref/source/servers-action-shelve.inc
+++ b/api-ref/source/servers-action-shelve.inc
@@ -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
-------