* Version password examples for GHES only * Remove unnecessary note * Versioned deprecation reusable for GHES only? * Update troubleshooting article * Version OAuthorizations REST API page for enterprise-only * Remove deprecations reusable * Add tentative note * Rework two-factor authentication sections * Fix double redirect reference * versioning tweak * Versioning tweaks * adding back the endifs * random link reformatting * OAuth Authorization API versioned for 2.22 * / * Fix internal docs links * remove static redirect for dotcom * Try deleting redirect * Apply @martin389's suggested changes Co-authored-by: Martin Lopes <54248166+martin389@users.noreply.github.com> * Remove best practice assumptions * Apply suggestions from code review Co-authored-by: Martin Lopes <54248166+martin389@users.noreply.github.com> * Add note * restore redirects in content file and remove free-pro-team expected path from test fixture * change note position * handle path that was available on dotcom in developer site but is now GHES only Co-authored-by: Martin Lopes <54248166+martin389@users.noreply.github.com> Co-authored-by: Sarah Schneider <sarahs@github.com>
3.2 KiB
title, intro, redirect_from, versions
| title | intro | redirect_from | versions | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Rate limits for GitHub Apps | {% data reusables.shortdesc.rate_limits_github_apps %} |
|
|
Server-to-server requests
{% if currentVersion == "free-pro-team@latest" %}
Different server-to-server request rate limits apply to {% data variables.product.prodname_github_app %}s if the app is installed on organizations or repositories owned by a {% data variables.product.prodname_ghe_cloud %} account.
Normal server-to-server rate limits
{% endif %}
{% data reusables.apps.api-rate-limits-non-ghec %}
{% if currentVersion == "free-pro-team@latest" %}
{% data variables.product.prodname_ghe_cloud %} server-to-server rate limits
{% data variables.product.prodname_github_app %}s that are installed on an organization or repository owned by a {% 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
{% 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 {% data variables.product.prodname_github_app %}s if the app is installed on organizations or repositories owned by a {% data variables.product.prodname_ghe_cloud %} account and the authenticated user also belongs to the same {% 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{% if currentVersion == "github-ae@latest" %} token{% else %} username and password{% endif %} share the same quota of 5,000 requests per hour for that user.
{% if currentVersion == "free-pro-team@latest" %}
{% data variables.product.prodname_ghe_cloud %} user-to-server rate limits
When a user belongs to a {% data variables.product.prodname_ghe_cloud %} account, user-to-server requests to resources owned by the same {% 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 {% data variables.product.prodname_ghe_cloud %} 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.