Skip to main content

github.listorganizationrepositoriesprops

Home > @runlightyear/github > ListOrganizationRepositoriesProps

ListOrganizationRepositoriesProps interface

Signature:
interface ListOrganizationRepositoriesProps 

Required Properties

PropertyModifiersTypeDescription
orgstringThe organization name. The name is not case sensitive.

Optional Properties

PropertyModifiersTypeDescription
direction?"asc" | "desc"The order to sort by. Default: asc when using full_name, otherwise desc.
page?number

Page number of the results to fetch.

Default: 1

perPage?number

The number of results per page (max 100).

Default: 30

sort?"created" | "updated" | "pushed" | "full_name"

The property to sort the results by.

Default: created

type?"all" | "public" | "private" | "forks" | "sources" | "member" | "internal"Specifies the types of repositories you want returned. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, type can also be internal. However, the internal value is not yet supported when a GitHub App calls this API with an installation access token.