レート制限
Resource/rate limits and paging
Resource and rate limits, and the default and maximum sizes of paged data are not considered part of the API and are subject to change (possibly dynamically).
呼び出しの測定方法
Tracking the number of calls is measured based on if they are authenticated or unauthenticated calls as follows:
- 未認証の呼び出し: 特定の IP アドレスについて測定
- Authenticated calls: measured against the user ID.
レート制限は認証済みのリクエストと未認証のリクエストの両方について、1 時間の段階的な枠に分割されます。つまり、新しいリクエストを実行するための時間が 1 分ごとに 1 分与えられますが、1 時間を超えて連続して実行可能な合計は 1,000 分です。
Anonymous Request limits
Anonymous requests are subject to a strict rate limit of 60 requests per hour across all API resources. If you need access to a larger request pool, logging in is required.
Authenticated Request limits
The following table defines our API request limits for authenticated requests:
制限タイプ | limit |
---|---|
Git web (HTTPS://) リクエスト | 60,000 リクエスト / 時間 |
hg web (HTTPS://) リクエスト | 30,000 リクエスト / 時間 |
SSH リクエスト (すべての SSH リクエストがレート制限対象) | 30,000 リクエスト / 時間 |
raw ファイルへのアクセス raw ファイルへのリクエスト: ファイルがアクティブにダウンロードされた回数。サイトのダウンロード セクションのファイルを含む 次の操作への制限はありません。
| 5,000 リクエスト / 時間 |
アーカイブ ファイル: .zip、.gz、およびその他のリポジトリ内の圧縮アーカイブ。 | 5,000 ファイル / 時間 |
リポジトリ データへのアクセス /2.0/repositories/* へのすべてのアクセス。例:
| 1,000 / 時間 |