git.github.list-repositoriesList the repositories an installation covers on GitHub, a page at a time
Request syntax
GET /git/api/github/installations/{id}/repositoriesPath parameters
idRequiredstring
Constraints: uuid
Query parameters
pageOptionalnumber
The page, from 1
Constraints: integer, 1-1000
Default:
1perPageOptionalnumber
Repositories per page, at most 100
Constraints: integer, 1-100
Default:
50
Response
200 with `totalCount`, `page`, `perPage` and that page of `repositories`, each with its mirror here. 404 when your organization has no connected installation with that id, 409 when it is suspended, 502 when GitHub could not be asked.
A JSON response is wrapped as { "success": true, "data": … }; the CLI prints the whole body with --json.
Fields of data
totalCountAlwaysnumber
How many repositories the installation covers on GitHubpageAlwaysnumber
This page, from 1perPageAlwaysnumber
Repositories per pagerepositoriesAlwaysarray of object
This page of the repositories, in the order GitHub lists themrepositories[].fullNameAlwaysstring
owner/name on GitHubrepositories[].privateAlwaysboolean
Private on GitHubrepositories[].archivedAlwaysboolean
Archived on GitHubrepositories[].defaultBranchAlwaysstring, may be null
Its default branch; null when GitHub did not sayrepositories[].htmlUrlAlwaysstring
Its page on GitHubrepositories[].mirroredAsAlwaysobject, may be null
The repository here that mirrors it; null when none doesrepositories[].mirroredAs.idAlwaysstring
The mirror repository hererepositories[].mirroredAs.nameAlwaysstring
Its name hererepositories[].mirroredAs.shadowCiAlwaysboolean
Shadow CI is on for itrepositories[].mirroredAs.shadowPausedAlwaysstring, may be null
Why shadow CI is paused (a cap reached); null when it is not
Checked against the handlers: every route test validates their answers against this schema.
Errors
- 400The request does not pass the schema above. The body is { "error": …, "issues": […] }, one issue per field.
- 401No credentials, or an access key that is unknown, revoked or expired.
- 403The caller's policies do not allow git:ListGithubInstallations on this resource. The body names the action and the resource, and the refusal is recorded in the audit log.
- 404The resource does not exist in your organization.
Examples
The required parameters only, with example values. Replace id and the other placeholders with your own.
dcloud git github list-repositories idcurl -X GET "https://console.platform.deutschecloud.app/git/api/github/installations/id/repositories" \
-H "Authorization: EWS-ACCESS-KEY $ACCESS_KEY"import { DcloudClient } from '@dcloud/sdk';
const client = new DcloudClient();
const result = await client.git.github.listRepositories({ id: "id" });from dcloud import Client
client = Client()
result = client.git.github.list_repositories(id="id")Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_git_github_list-repositories.