apps
Get the repositories accessible to a given GitHub App installation
Lists the repositories accessible to a given GitHub App installation on an enterprise-owned organization.
This API can only be called by a GitHub App installed on the enterprise that owns the organization.
get/enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories
Path parameters
enterprisestring required
The slug version of the enterprise name.
orgstring required
The organization name. The name is not case sensitive.
installation_idinteger required
The unique identifier of the installation.
Query parameters
per_pageinteger
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
pageinteger
The page number of the results to fetch. For more information, see "Using pagination in the REST API."
Response
A list of repositories owned by the enterprise organization to which the installation has access.
Example response
[
{
"id": 1,
"name": "Team Environment",
"full_name": "octocat/Hello-World"
}
]