Note: The following rate limits are the default rate limits for GitHub Enterprise Server. Contact your site administrator to confirm the rate limits for your GitHub Enterprise Server instance.
Note: You can confirm your current rate limit status at any time. For more information, see "Checking your rate limit status."
サーバーからサーバーへのリクエスト
GitHub Apps making server-to-server requests use the installation's minimum rate limit of 5,000 requests per hour. If an application is installed on an organization with more than 20 users, the application receives another 50 requests per hour for each user. 20以上のリポジトリを持つインストールでは、リポジトリごとに� 時間あたり50リクエストが追� されます。 インストールに対する最大のレート制限は、� 時間あたり12,500リクエストです。
ユーザからサーバーへのリクエスト
GitHub Apps and OAuth App can also act on behalf of a user, making user-to-server requests after the user authorizes the app. For more information, see "Authorizing GitHub Apps" and "Authorizing OAuth App."
User-to-server requests from OAuth App are authenticated with an OAuth token. User-to-server requests from GitHub Apps are authenticated with either an OAuth token or an expiring user access token. For more information, see "Identifying and authorizing users for GitHub Apps" and "Authorizing OAuth App."
By default, user-to-server requests are limited to 5,000 requests per hour and per authenticated user. All requests from OAuth applications authorized by a user or a personal access token owned by the user, and requests authenticated with any of the user's authentication credentials, share the same quota of 5,000 requests per hour for that user.
参考リンク
- "Rate limiting" in the REST API documentation
- "Resource limitations" in the GraphQL API documentation