* feat: Add Mintlify docs * Fixed the mint.json for v2 * Fixed versioning issue * Add titles to ICS feed endpoints * Added errors to v1 * Added rate-limit to API v1 * feat: added v1-v2 differences and v1 auth * Trying to eliminate reasons for v1 not showing on publication * Used the swagger openapi validator * remove deprecated v1 endpoints * Moved api docs into new folders without api-reference * Renamed api to api-reference * removed the versioning * Got rid of anchor warnings * Fixed naming * Just as a test - using the same v2 openapi spec for v1 reference * Removed 'externalDocs' from v1 * Removed securitySchemes * Updated the diff between v1/v2 * Added v1 in front of /attendees to test * Moved paths up and removed externalDocs * Testing - Added content to the response * Reduced paths to 1 * Testing: anything at this point * Fixed validation * Moved the other .mdx files to see if that's disrupting something * Trying with a tab * Empty tags array * Added back servers field * Removed all other schemas * Removed v1 for now * Added platform docs * Language fixes * Added v1 back * add API V1 response for attendees * remove unnecessary endpoint docs in API V1 * Removing platform and API for now * Updated v2 openapi doc --------- Co-authored-by: Syed Ali Shahbaz <alishahbaz7@gmail.com>
40 lines
937 B
Plaintext
40 lines
937 B
Plaintext
---
|
|
title: "Rate limits"
|
|
---
|
|
|
|
We limit the number of calls you can make over a certain period of time. Rate limits vary and are specified by the following header in all responses:
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Header</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>X-RateLimit-Limit</td>
|
|
<td>The maximum number of requests that the consumer is permitted to make.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>X-RateLimit-Remaining</td>
|
|
<td>The number of requests remaining in the current rate limit window.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>X-RateLimit-Reset</td>
|
|
<td>The time at which the current rate limit window resets in UTC epoch seconds.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
When the rate limit is **exceeded**, an error is returned with the status **"429 Too Many Requests"**:
|
|
|
|
```json
|
|
{
|
|
"error": {
|
|
"code": "too_many_requests",
|
|
"message": "Rate limit exceeded",
|
|
}
|
|
}
|
|
```
|