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:
parent
7bbc95344d
commit
a5bbe90eb7
@ -22,7 +22,7 @@ for the item is infinite.
|
||||
|
||||
Normal response codes: 200
|
||||
|
||||
Error response codes: 403
|
||||
Error response codes: forbidden(403)
|
||||
|
||||
Request
|
||||
-------
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -22,7 +22,7 @@ for the item is infinite.
|
||||
|
||||
Normal response codes: 200
|
||||
|
||||
Error response codes: 403
|
||||
Error response codes: forbidden(403)
|
||||
|
||||
Request
|
||||
-------
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user