зеркало из https://github.com/github/docs.git
Add information about timeouts to the "Resources in the REST API" page (#29241)
This commit is contained in:
Родитель
64b79a5e9c
Коммит
d1ea358256
|
@ -342,6 +342,18 @@ Name | Description
|
|||
`first` |The link relation for the first page of results.
|
||||
`prev` |The link relation for the immediate previous page of results.
|
||||
|
||||
## Timeouts
|
||||
|
||||
If {% data variables.product.prodname_dotcom %} takes more than 10 seconds to process an API request, {% data variables.product.prodname_dotcom %} will terminate the request and you will receive a timeout response like this:
|
||||
|
||||
```json
|
||||
{
|
||||
"message": "Server Error"
|
||||
}
|
||||
```
|
||||
|
||||
{% data variables.product.product_name %} reserves the right to change the timeout window to protect the speed and reliability of the API.
|
||||
|
||||
## Rate limiting
|
||||
|
||||
Different types of API requests to {% data variables.product.product_location %} are subject to different rate limits.
|
||||
|
|
Загрузка…
Ссылка в новой задаче