Get repositories belonging to an enterprise-owned organization
List the repositories belonging to an enterprise-owned organization that can be made accessible to a GitHub App installed on that organization. This API provides a shallow list of repositories in the organization, allowing the caller to then add or remove those repositories to an installation in that organization.
This API can only be called by a GitHub App installed on the enterprise that owns the organization.
Path parameters
The slug version of the enterprise name.
The organization name. The name is not case sensitive.
Query parameters
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
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 on which the authenticated GitHub App is installed.
Example response
[
{
"id": 1,
"name": "Team Environment",
"full_name": "octocat/Hello-World"
}
]