レート制限

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

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 ファイルへのリクエスト: ファイルがアクティブにダウンロードされた回数。サイトのダウンロード セクションのファイルを含む

次の操作への制限はありません

  • コミットのプッシュまたはプル
  • 最近の変更を取得するためのフェッチ コマンドの実行
  • ブランチのプッシュまたはプル (ブランチに 1000 以上の新しいファイルがある場合を除く)
5,000 リクエスト / 時間                                        

アーカイブ ファイル: .zip、.gz、およびその他のリポジトリ内の圧縮アーカイブ。

5,000 ファイル / 時間

リポジトリ データへのアクセス

/2.0/repositories/* へのすべてのアクセス。例:

  • ユーザーまたはチームのリポジトリ一覧の取得 (/2.0/repositories/{username})
  • Bitbucket のすべてのリポジトリの一覧の取得 (/2.0/repositories)
  • リポジトリのコミットの一覧の取得 (/2.0/repositories/{username}/{slug}/commits)

1,000 / 時間


最終更新日 2020 年 8 月 20 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.