diff options
author | shangxiaobj <shangxiaobj@inspur.com> | 2018-01-22 18:47:02 -0800 |
---|---|---|
committer | ShangXiao <shangxiaobj@inspur.com> | 2018-01-25 00:25:55 +0000 |
commit | e54c46e312adac96b4830fd4eb1e1817a9bd767f (patch) | |
tree | c685f32c9f67e5359ee8e4cdc26c4bb264f5ffaf /api-ref/source/datastores.inc | |
parent | 980577ee5b7e97811b4c49ddeecef971fea3e993 (diff) | |
download | trove-e54c46e312adac96b4830fd4eb1e1817a9bd767f.tar.gz |
[api-ref] Add fault names for the error response codes
Error response codes with fault names will be easier for understanding.
Change-Id: I5970cb6d40cf5793f024fd5d46b0da8f24bee0d6
Diffstat (limited to 'api-ref/source/datastores.inc')
-rw-r--r-- | api-ref/source/datastores.inc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/api-ref/source/datastores.inc b/api-ref/source/datastores.inc index e5562959..ef33deaa 100644 --- a/api-ref/source/datastores.inc +++ b/api-ref/source/datastores.inc @@ -20,7 +20,9 @@ you must restart the instance after you change the parameter value. Normal response codes: 200 -Error response codes:413,405,404,403,401,400,422,503,500,501, +Error response codes: badRequest(400),unauthorized(401),forbidden(403),itemNotFound(404), +badMethod(405),overLimit(413),unprocessableEntity(422),instanceFault(500),notImplemented(501), +serviceUnavailable(503) Request @@ -63,7 +65,9 @@ Lists the available versions of a data store. Normal response codes: 200 -Error response codes:413,405,404,403,401,400,422,503,500,501, +Error response codes: badRequest(400),unauthorized(401),forbidden(403),itemNotFound(404), +badMethod(405),overLimit(413),unprocessableEntity(422),instanceFault(500),notImplemented(501), +serviceUnavailable(503) Request @@ -109,7 +113,9 @@ a parameter value. Normal response codes: 200 -Error response codes:413,405,404,403,401,400,422,503,500,501, +Error response codes: badRequest(400),unauthorized(401),forbidden(403),itemNotFound(404), +badMethod(405),overLimit(413),unprocessableEntity(422),instanceFault(500),notImplemented(501), +serviceUnavailable(503) Request |