Add instructions for the Error response codes

Improve the http return code information, for easy
reading and calling

Change-Id: I0fa54e084070a6407d732e69ca30f6079b923f33
This commit is contained in:
zhangbailin 2017-12-12 16:49:31 +08:00
parent 7bbc95344d
commit a5bbe90eb7
6 changed files with 12 additions and 8 deletions

View File

@ -22,7 +22,7 @@ for the item is infinite.
Normal response codes: 200
Error response codes: 403
Error response codes: forbidden(403)
Request
-------

View File

@ -141,7 +141,9 @@ Shows details for a QoS specification.
Normal response codes: 200
Error response codes: 413, 405, 404, 403, 401, 400, 503
Error response codes: Request Entity Too Large(413), badMethod(405),
itemNotFound(404), forbidden(403), unauthorized(401), badRequest(400),
serviceUnavailable(503)
Request

View File

@ -17,7 +17,7 @@ resource exists, then the default value will be reported.
Normal response codes: 200
Error response codes: 403, 404
Error response codes: forbidden(403), itemNotFound(404)
Request
@ -60,7 +60,7 @@ exist, then the API will create one.
Normal response codes: 200
Error response codes: 400, 403, 404
Error response codes: badRequest(400), forbidden(403), itemNotFound(404)
Request

View File

@ -22,7 +22,7 @@ for the item is infinite.
Normal response codes: 200
Error response codes: 403
Error response codes: forbidden(403)
Request
-------

View File

@ -146,7 +146,9 @@ Shows details for a QoS specification.
Normal response codes: 200
Error response codes: 413,405,404,403,401,400,503
Error response codes: Request Entity Too Large(413), badMethod(405),
itemNotFound(404), forbidden(403), unauthorized(401), badRequest(400),
serviceUnavailable(503)
Request

View File

@ -17,7 +17,7 @@ resource exists, then the default value will be reported.
Normal response codes: 200
Error response codes: 403, 404
Error response codes: forbidden(403), itemNotFound(404)
Request
@ -61,7 +61,7 @@ exist, then the API will create one.
Normal response codes: 200
Error response codes: 400, 403, 404
Error response codes: badRequest(400), forbidden(403), itemNotFound(404)
Request