List repositories
List the repositories of an organization or of another user, or the repositories the token's user can access when no owner is given.
Command in the GitHub toolkit · id ooa.github/list_repositories · 5 inputs (1 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Endpoint address | String | No | https://api.github.com | API address. Keep the default for github.com; for GitHub Enterprise Server use https://github.yourcompany.com/api/v3. |
| Token | Credential | Yes | Personal access token or app token from the vault, with access to the repository. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Organization | String | No | Organization name, or a user's login when owner_type is user. Leave empty for the repositories of the token's user. | |
| Maximum results | Number | No | 100 | Most items to return; pages are read until this many are found. |
| Owner type | String | No | organization | organization: the name in organization is an organization; user: it is a user's login, and their public repositories are listed. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Columns: name, full_name, private, default_branch, description, updated_at, url. |
| count | Number | Number of repositories returned. |