HTTP Status Codes
The following HTTP status codes are returned to any request to the API:
Code | Status | Description |
200 | OK | The request was successfully executed |
401 | Unauthorized | The authentication credentials were invalid |
403 | Forbidden | The credentials did not match the requested resource. For example if the resource at a RESTful URI was not owned by the user of the sent credentials |
404 | Not Found | The requested resources was not existing |
422 | Unprocessable Entity | The uploaded data was corrupt |
500 | Internal Server Error | Something internally was broken |
Just the response code 200 means that a request was successful.
Additionally to the HTTP status, every error response has the key error
with the error message as value in its JSON body.