GitHub、企業向けインストール API をパブリックプレビューとして公開
GitHub はコミュニティのフィードバックに基づき、GitHub App がエンタープライズ環境へのインストール状態と ID を直接取得できる新 API を公開プレビューとして導入した。
キーポイント
API の新機能追加
GitHub App が特定のエンタープライズにインストールされているか、およびそのインストール ID を照会する専用 API が実装された。
既存 API との整合性
組織、リポジトリ、ユーザー向けの既存の取得 API と同様の機能をエンタープライズ向けに追加し、開発体験を統一した。
パフォーマンス向上
全インストールリストをページネーションして検索する手間が省かれ、必要なトークンをより高速に取得できるようになった。
影響分析・編集コメントを表示
影響分析
この変更は、大規模組織向けの GitHub App 開発において、インストール管理のオーバーヘッドを大幅に削減し、セキュリティとパフォーマンスを向上させる。特に多数のエンタープライズ環境を跨ぐアプリや、迅速な認証フローが求められるユースケースにおいて、開発効率とユーザー体験を劇的に改善する。
編集コメント
エンタープライズ環境におけるアプリ管理のボトルネックを解消する実用的なアップデートであり、大規模導入を目指す開発者にとって即座に活用できる価値があります。
コミュニティからのフィードバックに基づき、GitHub App 開発者向けの API の空白を埋めています。
エンタープライズインストール API
GitHub App がエンタープライズにインストールされているか、そのインストール ID は何かを確認できる新しい API を追加しました。これは、組織、リポジトリ、ユーザーに対して同様の機能を提供する既存の API と整合しています。これらの API により、アプリはすべてのインストールの一覧をページネーションして適切なターゲットを探すのではなく、エンタープライズ用のインストールトークンをより迅速に取得できるようになります。
この空白を指摘し、解決策を実現するために尽力してくれた、広範な GitHub Actions コミュニティおよび Enterprise Apps プレビュー参加者の方々に感謝いたします。
API の詳細については、REST API ドキュメントをご覧ください。
フィードバックをお待ちしています
ご質問やご意見があれば、コミュニティディスカッションにコメントを投稿してください。
「New enterprise installation API now in public preview」という投稿は、The GitHub Blog で最初に公開されました。
原文を表示
We’re filling an API gap for GitHub App developers based on community feedback.
Enterprise Installation API
We’ve added a new API that lets a GitHub App find out if it’s installed on an enterprise and what its installation ID is. This matches the existing APIs that do the same for organizations, repositories, and users. These APIs help apps get an installation token for an enterprise faster, rather than paginating through a list of all installations to find the right target.
Thank you to the broader GitHub Actions community and Enterprise Apps preview participants for calling out this gap so that we could solve it.
To learn more about the API, see the REST API documentation.
We’d love to hear your feedback
If you have any questions or thoughts, drop a comment in our Community discussion.
The post New enterprise installation API now in public preview appeared first on The GitHub Blog.
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み