Skip to main content

Get one GitHub repository.

GET/api/v1/github-repositories/{github_repository_id}connectors:read

The repository's settings and whether it has its GitHub App installation.

Scopeconnectors:read (sensitive)
AsynchronousNo
MCP toolget_github_repository
Portal permissionsview_github_repositories

Parameters​

NameInTypeRequiredDescription
github_repository_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json GitHubRepository
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
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/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

Errors​

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

Schemas​

GitHubRepository​

FieldTypeRequiredDescription
auth_typestringRequired
created_atstring (date-time) or nullRequired
display_namestring or nullRequired
edit_group_idsarray of stringRequiredGroups that may edit the imported documents.
edit_user_idsarray of stringRequiredUsers that may edit the imported documents.
file_extensionsarray of stringRequired
github_account_loginstring or nullRequired
github_installation_idstring or nullRequired
github_repository_idstringRequired
has_credentialsbooleanRequiredWhether the repository has its GitHub App installation.
is_activeboolean or nullRequired
last_synced_atstring (date-time) or nullRequired
number_prefixstring or nullRequired
path_prefixesarray of stringRequired
read_group_idsarray of stringRequiredGroups that may read the imported documents.
read_user_idsarray of stringRequiredUsers that may read the imported documents.
repo_namestringRequired
repo_ownerstringRequired
schedule_dayinteger or nullRequired
schedule_hourinteger or nullRequired
schedule_typestring or nullRequired