relax guarantee on openapi rate limit doc accuracy
This commit is contained in:
parent
aa7d2da45b
commit
52fe952642
1 changed files with 4 additions and 2 deletions
|
@ -50,7 +50,8 @@ info:
|
||||||
|
|
||||||
# Rate limits
|
# Rate limits
|
||||||
|
|
||||||
We are rate-limiting all endpoints of PeerTube's API. Here is how it is configured by default:
|
We are rate-limiting all endpoints of PeerTube's API. Custom values can be configured
|
||||||
|
by administrators:
|
||||||
|
|
||||||
| Endpoint | Calls | Time frame |
|
| Endpoint | Calls | Time frame |
|
||||||
|-------------------------|------------------|---------------------------|
|
|-------------------------|------------------|---------------------------|
|
||||||
|
@ -62,7 +63,8 @@ info:
|
||||||
Depending on the endpoint, ¹failed requests are not taken into account. A service
|
Depending on the endpoint, ¹failed requests are not taken into account. A service
|
||||||
limit is announced by a `429 Too Many Requests` status code.
|
limit is announced by a `429 Too Many Requests` status code.
|
||||||
|
|
||||||
You can get details about how your rate limit is going by reading following headers:
|
You can get details about the current state of your rate limit by reading the
|
||||||
|
following headers:
|
||||||
|
|
||||||
| Header | Description |
|
| Header | Description |
|
||||||
|-------------------------|------------------------------------------------------------|
|
|-------------------------|------------------------------------------------------------|
|
||||||
|
|
Loading…
Reference in a new issue