-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Status Codes
The success or failure of a request is indicated by an HTTP status code. A 2xx status code indicates success, whereas a 4xx or 5xx status code indicates an error.
Code Status
200 OK: Successful GET
201 Created: Successful POST
400 Bad Request: Invalid JSON (can't be parsed or has wrong types).
401 Unauthorized: The OAuth token is either not provided or invalid.
404 Not Found: The resource, project, or endpoint being requested doesn’t exist.
405 Invalid HTTP method: A GET, POST, DELETE, or PUT was sent to an endpoint that doesn’t support that particular verb.
406 Not Acceptable: Required fields are missing.
500 Internal Server Error: Something went wrong on the server side.
503 Service Unavailable: A temporary error occurred with the request. Clients should implement exponential backoff and retry the request.