diff options
author | He Jie Xu <hejie.xu@intel.com> | 2016-05-09 11:21:57 +0800 |
---|---|---|
committer | He Jie Xu <hejie.xu@intel.com> | 2016-05-09 11:21:57 +0800 |
commit | e3b0edbbe31773eca70151c3ba60457a8d6a4298 (patch) | |
tree | 2306a3b8ca50ac1842a01c75b1e54d6c1ec5409c /api-ref/source/servers-admin-action.inc | |
parent | 6939da33e32ca79752d727ea6299e6ab3d358490 (diff) | |
download | nova-e3b0edbbe31773eca70151c3ba60457a8d6a4298.tar.gz |
Compelete method verification of os-servers-admin
Corrects the error status responses for os-servers-admin
Part of bp:api-ref-in-rst
Change-Id: I3385834ed13104b49fbc4d2a566f9553da046c4b
Diffstat (limited to 'api-ref/source/servers-admin-action.inc')
-rw-r--r-- | api-ref/source/servers-admin-action.inc | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/api-ref/source/servers-admin-action.inc b/api-ref/source/servers-admin-action.inc index 65f95e81b5..4ec2550b01 100644 --- a/api-ref/source/servers-admin-action.inc +++ b/api-ref/source/servers-admin-action.inc @@ -1,5 +1,4 @@ .. -*- rst -*- -.. needs:method_verification .. needs:parameter_verification .. needs:example_verification .. needs:body_verification @@ -30,8 +29,7 @@ Policy defaults enable only users with the administrative role or the owner of t 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: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404), conflict(409) Request ------- @@ -63,8 +61,7 @@ Policy defaults enable only users with the administrative role or the owner of t 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: badRequest(400), unauthorized(401), forbidden(403), conflict(409) Request ------- @@ -96,8 +93,7 @@ Policy defaults enable only users with the administrative role or the owner of t 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: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404), conflict(409) Request ------- @@ -131,8 +127,7 @@ Policy defaults enable only users with the administrative role to perform this o 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: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404), conflict(409) Request ------- @@ -166,8 +161,7 @@ Policy defaults enable only users with the administrative role or the owner of t 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) Request ------- |