summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-02-05 07:28:37 +0000
committerGerrit Code Review <review@openstack.org>2018-02-05 07:28:37 +0000
commit34c2478ce4b29f79a713040ed8c8cfef4ec53c60 (patch)
treea47b514739347fc54766af52c0e90f9ed322d19b
parent063a6d9d9a492019cf2355bc3d4bd1bc46085af9 (diff)
parent305f6a1254fb0fe1496d596e274afdeb45122e25 (diff)
Merge "[api-ref] Unify the format of the error response code in files"
-rw-r--r--api-ref/source/v1/server_networks.inc6
-rw-r--r--api-ref/source/v1/server_states.inc15
2 files changed, 7 insertions, 14 deletions
diff --git a/api-ref/source/v1/server_networks.inc b/api-ref/source/v1/server_networks.inc
index 667a39f..eb4f2fb 100644
--- a/api-ref/source/v1/server_networks.inc
+++ b/api-ref/source/v1/server_networks.inc
@@ -52,7 +52,8 @@ optional ``fixed_address`` parameter.
52 52
53Normal response code: 204 53Normal response code: 204
54 54
55Error codes: 400,401,403,404,409 55Error response codes: badRequest(400), unauthorized(401), forbidden(403),
56itemNotFound(404), conflict(409)
56 57
57Request 58Request
58------- 59-------
@@ -108,7 +109,8 @@ Adds an interface to a server.
108 109
109Normal response code: 204 110Normal response code: 204
110 111
111Error codes: 400,401,403,404,409 112Error response codes: badRequest(400), unauthorized(401), forbidden(403),
113itemNotFound(404), conflict(409)
112 114
113Request 115Request
114------- 116-------
diff --git a/api-ref/source/v1/server_states.inc b/api-ref/source/v1/server_states.inc
index a581690..50db2a8 100644
--- a/api-ref/source/v1/server_states.inc
+++ b/api-ref/source/v1/server_states.inc
@@ -19,10 +19,7 @@ Request a change to the Server's power state.
19 19
20Normal response code: 202 20Normal response code: 202
21 21
22Error codes: 22Error response codes: badRequest(400), forbidden(403), conflict(409)
23 - 409 (ClientError)
24 - 400 (InvalidState)
25 - 406 (NotAcceptable)
26 23
27Request 24Request
28------- 25-------
@@ -51,10 +48,7 @@ Request a change to the Server's lockstate.
51 48
52Normal response code: 202 49Normal response code: 202
53 50
54Error codes: 51Error response codes: badRequest(400), forbidden(403), conflict(409)
55 - 409 (ClientError)
56 - 400 (BadRequest)
57 - 403 (Forbidden)
58 52
59Request 53Request
60------- 54-------
@@ -87,10 +81,7 @@ Request a change to the Server's provision state.
87 81
88Normal response code: 202 82Normal response code: 202
89 83
90Error codes: 84Error response codes: badRequest(400), forbidden(403), conflict(409)
91 - 409 (ClientError)
92 - 400 (BadRequest)
93 - 403 (Forbidden)
94 85
95Request 86Request
96------- 87-------