Skip to main content
Nous publions des mises à jour fréquentes de notre documentation, et la traduction de cette page peut encore être en cours. Pour obtenir les informations les plus actuelles, consultez la documentation anglaise.

Cette version de GitHub Enterprise a été abandonnée le 2023-03-15. Aucune publication de correctifs n’est effectuée, même pour les problèmes de sécurité critiques. Pour de meilleures performances, une sécurité améliorée et de nouvelles fonctionnalités, effectuez une mise à niveau vers la dernière version de GitHub Enterprise. Pour obtenir de l’aide sur la mise à niveau, contactez le support GitHub Enterprise.

Rate limits for GitHub Apps

Les limites de débit restreignent le taux de trafic à votre instance GitHub Enterprise Server, afin de garantir un accès cohérent pour tous les utilisateurs.

About rate limits for GitHub Apps

Rate limits are disabled by default for GitHub Enterprise Server. Contact your site administrator to confirm the rate limits for your instance.

When rate limits are enabled for your GitHub Enterprise Server instance, there is a limit on the number of requests a GitHub App can send to the server within a specific time period. This limit helps to ensure the system remains available for all users.

Determining rate limits for a GitHub App

Vous pouvez confirmer l’état actuel de votre limite de débit à tout moment à l’aide de l’API REST. Pour plus d’informations, consultez « Ressources disponibles dans l’API REST ».

Rate limits depend on whether the GitHub App authenticates with a user access token or with an installation access token. A user access token allows an app to act on behalf of a specific user, after the user authorizes the app. An installation access token allows an app to attribute actions to the app itself. For more information about user and installation access tokens, "À propos de l’authentification avec une application GitHub."

Installation access tokens

GitHub Apps authenticating with an installation access token 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. Installations that have more than 20 repositories receive another 50 requests per hour for each repository. The maximum rate limit for an installation is 12,500 requests per hour.

User access tokens

By default, user access token requests are limited to 5,000 requests per hour and per authenticated user.

Further reading