The Liftoff OData API is a RESTful API. As such, it responds to requests with standard HTTP status codes, along with a JSON body, as appropriate. Common HTTP status codes used by the Liftoff OData API include:
Code | Message | Description |
---|---|---|
| OK | The request succeeded. |
| Created | The request succeeded and resulted in a new resource being created. |
| No Content | The request succeeded and resulted in no content in the response body. This is the standard response to a successful DELETE request. |
| Bad Request | The request could not be understood by the server due to malformed syntax or invalid parameters. |
| Unauthorized | Authentication failed. See Authentication for details on credentials. |
| Forbidden | The authenticated user does not have permission to fulfill the request. See Authorization for details on permissions. |
| Not Found | The requested resource could not be found. |
| Method Not Supported | The specified method (e.g., GET, POST, PATCH, etc.) is not supported by the resource. |
| Unsupported Media Type | The request included an incorrect |
| Misdirected Request | The request was directed at a server that is not able to produce a response. (This may occur if invalid credentials are specified. See Authentication for details on credentials.) |
| Too Many Requests | The volume of requests has surpassed the API's rate limiting threshold. See Rate limits for details. |
| Internal Server Error | The server encountered an unexpected error. |