The Fundamentals
Code | Description |
---|---|
200 | A successful request. |
201 | Resource creation successful. A Link header will be returned with the URL to the newly created resource. |
400 | There is something wrong with your request. The error will include details about the issues. |
401 | The Authentication header is either missing or invalid. |
404 | The resource or endpoint wasn’t found. |
413 | The content of the request is too large for the API to handle. |
429 | Too many requests in too short a time period. |
500 | We encountered an unexpected error handling the request. |
Link
HeadersLink
header in a successful response. These are RFC 8288-compliant web links that can be used to make requests to the API that are related to the content in the body of the response.
For example, the response to a successful request to a Begin*
operation might include a link that can be used to obtain the results of processing:
rel
parameter is prev
or next
, indicating that the link corresponds to the previous or next page of data, respectively:
rel=next
, but the lack of a link where rel=prev
indicates that this response contains the first page of the list. Note that the above example also contains web links to obtain the results corresponding to documents in the list.
Property Name | Description |
---|---|
type | A URI reference that identifies the error type. This value is stable and can be used for programmatic error handling |
title | A short, human-readable summary of the problem |
status | The HTTP status code of the response |
detail | A human-readable explanation specific to this occurrence of the problem |
400
Bad Request status code include additional validation
and validationContext
properties with details about the validation issues.