Skip to content

Docs do not explain what the repository types mean #45877

Description

@sebbASF

https://docs.github.com/en/rest/repos/repos?apiVersion=2026-03-10#list-organization-repositories

lists the possible values for the query parameter type:

type string
Specifies the types of repositories you want returned
Default: all
Can be one of: all, public, private, forks, sources, member

However I could not find any information on what these different types represent.
In particular, sources and member.

Also, I assume a repository can be either public or private, but not both, but what about the other types (apart from all)?
For example, can type=forks also be included in public and/or private?

It would be a great help if the types were explained.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fix-internallyTriggers a workflow to copy the issue internally and close the current issuetriageDo not begin working on this issue until triaged by the team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions