The section HTTP Response Status is little bit confusing. The title is referring to the HTTP Response Statuses, which can easily be understood as reference to the HTTP Status codes 100-599, but the content is only mentioning the value of the status field in the response body. This makes it hard to implement a robust error handling and leads to assumptions.
So could you please clarify following:
which HTTP Status Code (100-599) will be returned for each of the 5 response statuses
would it be sufficient to only check the HTTP Status Codes (100-599) from client side, in order to validate if the request was successful, or is it also required to validate the value of the status field in the body? For instance, would the API return HTTP 200 with status value other then "ok"?
The section HTTP Response Status is little bit confusing. The title is referring to the HTTP Response Statuses, which can easily be understood as reference to the HTTP Status codes
100
-599
, but the content is only mentioning the value of thestatus
field in the response body. This makes it hard to implement a robust error handling and leads to assumptions.So could you please clarify following:
100
-599
) will be returned for each of the 5 response statuses100
-599
) from client side, in order to validate if the request was successful, or is it also required to validate the value of thestatus
field in the body? For instance, would the API returnHTTP 200
withstatus
value other then"ok"
?