Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API rate limiting to the OAS #88

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

bot-api-video
Copy link
Contributor

@bot-api-video bot-api-video commented Apr 11, 2024

⚠️ This PR should not be merged before API rate limiting is released ⚠️

Changes are for this Asana task.

Docs drafts are here.

Summary

  • added the 429 - Too many requests error response schema and example to every endpoint except /auth
  • added the following response headers to the 200 response of GET /videos as a test:
    • X-RateLimit-Limit
    • X-RateLimit-Remaining
    • X-RateLimit-Retry-After

⚠️ This PR should not be merged before API rate limiting is released ⚠️

Created by @szekelyzol via apivideo/api.video-api-client-generator#373

@bot-api-video bot-api-video merged commit e6a124f into main Apr 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants