Skip to main content

List the connected repositories a workflow node can pick.

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

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.

Scopeconnectors:read (sensitive)
AsynchronousNo
MCP toollist_github_repository_options
Portal permissionsview_github_repositories
Pagingkeyset
Default ordergithub_repository_id
Sort fieldsgithub_repository_id

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
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 body​

FieldTypeRequiredDescription
itemsarray of GitHubRepositoryOptionRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

GitHubRepositoryOption​

FieldTypeRequiredDescription
display_namestring or nullRequired
github_repository_idstringRequired
repo_namestringRequired
repo_ownerstringRequired