API Response Codes
The Teem API will respond to requests with the following codes.
Success
Code | Name | Description |
---|---|---|
200 | Ok | The request has succeeded. |
201 | Created | The request has been fulfilled and resulted in a new resource being created. |
202 | Accepted | The request has been accepted for processing, but processing has not been completed. |
204 | No Content | The server successfully processed the request, but is not returning any content. |
205 | Processed | The server successfully processed the request, but is not returning any content. |
Redirection
Code | Name | Description |
---|---|---|
301 | Moved Permanently | This and all future requests should be directed to the given Location header. |
302 | Found | This request should be directed to the given Location header. |
303 | See Other | The response to the request can be found under another Location (header) using a GET method. |
Client Error
Code | Name | Description |
---|---|---|
400 | Bad Request | The request cannot be fulfilled due to bad syntax. |
401 | Unauthorized | Authentication is possible but has failed or not yet been provided. |
403 | Forbidden | The request was a legal request, but the server is refusing to respond to it. |
404 | Not Found | The requested resource could not be found but may be available again in the future. |
405 | Method Not Allowed | A request was made of a resource using a request method not supported by that resource. |
406 | Not Acceptable | The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request. |
410 | Gone | Indicates that the resource requested is no longer available and will not be available again. |
429 | Too Many Requests | The user has sent too many requests in a given amount of time. |
Server Error
Code | Name | Description |
---|---|---|
500 | Server Error | An internal error has occured and we have been notified. |
503 | Service Unavailable | The server is currently unavailable. |