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

List the connected repositories a workflow node can pick.

GET/api/v1/github-repository-optionsconnectors:read
注記

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

Each connected repository's ID, owner, name and display name, in github_repository_id order: what a workflow designer picks from when building a GitHub step. Needs View Github Repositories, as the Portal's repository list does; the sync configuration, access lists and installation stay with list_github_repositories.

スコープconnectors:read (機密性の高いスコープ)
非同期いいえ
MCP ツールlist_github_repository_options
Portal の権限view_github_repositories
ページングkeyset
既定の並び順github_repository_id
並べ替えに使えるフィールドgithub_repository_id

パラメーター​

名前場所型必須説明
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsGitHubRepositoryOption の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

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

スキーマ​

GitHubRepositoryOption​

フィールド型必須説明
display_namestring または null必須
github_repository_idstring必須
repo_namestring必須
repo_ownerstring必須