Skip to main content

installation_repos

Overview

Nameinstallation_repos
TypeResource
Idgithub.apps.installation_repos

Fields

NameDatatype
repositoriesarray
repository_selectionstring
total_countinteger

Methods

NameAccessible byRequired ParamsDescription
list_installation_repos_for_authenticated_userSELECTinstallation_idList repositories that the authenticated user has explicit permission (:read, :write, or :admin) to access for an installation.

The authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.

You must use a user access token, created for a user who has authorized your GitHub App, to access this endpoint.

The access the user has to each repository is included in the hash under the permissions key.
list_repos_accessible_to_installationSELECTList repositories that an app installation can access.

You must use an installation access token to access this endpoint.
remove_repo_from_installation_for_authenticated_userDELETEinstallation_id, repository_idRemove a single repository from an installation. The authenticated user must have admin access to the repository. The installation must have the repository_selection of selected.

You must use a personal access token (which you can create via the command line or Basic Authentication) to access this endpoint.
add_repo_to_installation_for_authenticated_userEXECinstallation_id, repository_idAdd a single repository to an installation. The authenticated user must have admin access to the repository.

You must use a personal access token (which you can create via the command line or Basic Authentication) to access this endpoint.