レート制限 API から「code_scanning_upload」フィールドが削除される旨の非推奨通知
本文の状態
日本語全文を表示中
詳細モードで約1分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
GitHub Changelog
GitHub は、2026 年 5 月 19 日に REST API のレート制限エンドポイントから「code_scanning_upload」フィールドを削除すると発表しました。同フィールドはコア制限とプールを共有しているため、ユーザーが誤って解釈する原因となっており、この変更により混乱を防ぎます。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
2026 年 5 月 19 日、rate_limit REST API エンドポイントのレスポンスから code_scanning_upload フィールドを削除します。
なぜこの変更を行ったのか?
rate_limit レスポンス内の code_scanning_upload フィールドは混乱の原因となっていました。これは別々のレート制限カテゴリとして表示されていましたが、実際には core と同じ制限プールを共有しています。これにより、顧客が誤って自身のレート制限ステータスを解釈してしまう事態が生じていました。
あなたが行うべきこと
コードやスクリプトで /rate_limit エンドポイントを解析し、code_scanning_upload フィールドを参照している場合は、2026 年 5 月 19 日までに更新して失敗を防いでください。
変更前:
{
"resources": {
"core": { "limit": 5000, "used": 1, "remaining": 4999, "reset": 1372700873 },
"code_scanning_upload": { "limit": 5000, "used": 1, "remaining": 4999, "reset": 1372700873 }
}
}
2026 年 5 月 19 日以降:
{
"resources": {
"core": { "limit": 5000, "used": 1, "remaining": 4999, "reset": 1372700873 }
}
}
標準的な core のレート制限(rate limit)が、GitHub コードスキャンアップロードを引き続き管理します。代替となるフィールドは必要ありません。
レート制限に関する詳細については、「REST API のレート制限」をご覧ください。
本投稿「Deprecation notice: code_scanning_upload field will be removed from rate_limit API endpoint」は、The GitHub Blog で最初に公開されました。
原文を表示
On May 19, 2026, we’ll remove the code_scanning_upload field from the rate_limit REST API endpoint response.
Why did we make this change?
The code_scanning_upload field in the rate_limit response has been a source of confusion. While it appeared as a separate rate limit category, it shares the same limit pool as core. This led customers to incorrectly interpret their rate limit status.
What you need to do
If your code or scripts parse the /rate_limit endpoint and reference the code_scanning_upload field, update them before May 19, 2026 to avoid failures.
Before:
{
"resources": {
"core": { "limit": 5000, "used": 1, "remaining": 4999, "reset": 1372700873 },
"code_scanning_upload": { "limit": 5000, "used": 1, "remaining": 4999, "reset": 1372700873 }
}
}
After May 19, 2026:
{
"resources": {
"core": { "limit": 5000, "used": 1, "remaining": 4999, "reset": 1372700873 }
}
}
The standard core rate limit continues to govern GitHub code scanning uploads. No replacement field is needed.
For more information about rate limits, see Rate limits for the REST API.
The post Deprecation notice: code_scanning_upload field will be removed from rate_limit API endpoint appeared first on The GitHub Blog.
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み