メインコンテンツまでスキップ

List the repositories a GitHub App installation grants.

POST/api/v1/github-installations/{github_installation_id}/discover-repositoriesconnectors:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Asks GitHub which repositories the installation can reach, one page at a time. Nothing is saved.

スコープconnectors:read (機密性の高いスコープ)
非同期いいえ
MCP ツールdiscover_github_installation_repositories
Portal の権限view_github_repositories

パラメーター​

名前場所型必須説明
github_installation_idpathstring必須
Docwize-Versionheaderstring (date)任意

リクエスト本文​

Content-Type型
application/jsonGitHubDiscoverRepositoriesRequestInput

応答​

ステータス説明本文
200Success.application/json GitHubDiscoveredRepositories
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

GitHubDiscoverRepositoriesRequestInput​

フィールド型必須説明
pageinteger または null任意The page of GitHub's listing; 1 by default.

GitHubDiscoveredRepositories​

フィールド型必須説明
account_loginstring必須
github_installation_idstring必須
next_pageinteger必須The next page; 0 at the last page. ≥ -2147483648; ≤ 2147483647
pageinteger必須≥ -2147483648; ≤ 2147483647
repositoriesGitHubDiscoveredRepository の配列必須

GitHubDiscoveredRepository​

フィールド型必須説明
default_branchstring必須
full_namestring必須
github_repository_numberstring必須GitHub's repository ID.
namestring必須
ownerstring必須
privateboolean必須