1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Files
docs/content/developers/apps/rate-limits-for-github-apps.md
Vanessa Yuen 3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00

3.2 KiB

title, intro, redirect_from, versions
title intro redirect_from versions
Rate limits for GitHub Apps {{ site.data.reusables.shortdesc.rate_limits_github_apps }}
/early-access/integrations/rate-limits/
/apps/building-integrations/setting-up-and-registering-github-apps/about-rate-limits-for-github-apps/
/apps/building-github-apps/rate-limits-for-github-apps/
/apps/building-github-apps/understanding-rate-limits-for-github-apps
free-pro-team enterprise-server
* *

Server-to-server requests

{% if currentVersion == "free-pro-team@latest" %}

Different server-to-server request rate limits apply to {{ site.data.variables.product.prodname_github_app }}s if the app is installed on organizations or repositories owned by a {{ site.data.variables.product.prodname_ghe_cloud }} account.

Normal server-to-server rate limits

{% endif %}

{{ site.data.reusables.apps.api-rate-limits-non-ghec }}

{% if currentVersion == "free-pro-team@latest" %}

{{ site.data.variables.product.prodname_ghe_cloud }} server-to-server rate limits

{{ site.data.variables.product.prodname_github_app }}s that are installed on an organization or repository owned by a {{ site.data.variables.product.prodname_ghe_cloud }} account and make server-to-server requests have a rate limit of 15,000 requests per hour.

{% endif %}

User-to-server requests

{{ site.data.reusables.apps.deprecating_password_auth }}

{{ site.data.variables.product.prodname_github_app }}s can also act on behalf of a user, making user-to-server requests.

{% if currentVersion == "free-pro-team@latest" %}

Different user-to-server request rate limits apply to {{ site.data.variables.product.prodname_github_app }}s if the app is installed on organizations or repositories owned by a {{ site.data.variables.product.prodname_ghe_cloud }} account and the authenticated user also belongs to the same {{ site.data.variables.product.prodname_ghe_cloud }} account.

Normal user-to-server rate limits

{% endif %}

User-to-server requests are rate limited at 5,000 requests per hour and per authenticated user. All OAuth applications authorized by that user, personal access tokens owned by that user, and requests authenticated with that user's username and password share the same quota of 5,000 requests per hour for that user.

{% if currentVersion == "free-pro-team@latest" %}

{{ site.data.variables.product.prodname_ghe_cloud }} user-to-server rate limits

When a user belongs to a {{ site.data.variables.product.prodname_ghe_cloud }} account, user-to-server requests to resources owned by the same {{ site.data.variables.product.prodname_ghe_cloud }} account are rate limited at 15,000 requests per hour and per authenticated user. All OAuth applications authorized by that user, personal access tokens owned by that user, and requests authenticated with that user's username and password share the same quota of 5,000 requests per hour for that user.

{% endif %}

For more detailed information about rate limits, see "Rate limiting" for REST API and "Resource limitations" for GraphQL API.