Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Endpoint addressStringNohttps://api.github.comAPI address. Keep the default for github.com; for GitHub Enterprise Server use https://github.yourcompany.com/api/v3.
TokenCredentialYesPersonal 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.
OrganizationStringNoOrganization name, or a user's login when owner_type is user. Leave empty for the repositories of the token's user.
Maximum resultsNumberNo100Most items to return; pages are read until this many are found.
Owner typeStringNoorganizationorganization: the name in organization is an organization; user: it is a user's login, and their public repositories are listed.

Outputs​

OutputTypeWhat it is
tableTableColumns: name, full_name, private, default_branch, description, updated_at, url.
countNumberNumber of repositories returned.