Skip to contents

Retrieve information on the repositories created or held by yourself.

Usage

get_self_repos_list(
  visibility = "all",
  affiliation = "owner,collaborator,organization_member",
  type = "all",
  sort = "full_name",
  direction = "desc"
)

Arguments

visibility

Can be one of `"all"`, `"public"`, or `"private"`. Default: `"all"`

affiliation

Comma-separated list of values. Can include: `"owner"`, `"collaborator"`, `"organization_member"`. Default: `"owner,collaborator,organization_member"`.

type

Can be one of `"all"`, `"public"`, or `"private"`. Default: `"all"`. Will cause a `422`` error if used in the same request as `visibility` or `affiliation`.

sort

Can be one of `"created"`, `"updated"`, `"pushed"`, `"full_name"`. Default: `"full_name"`.

direction

Can be one of `"asc"` or `"desc"`. Default: `"desc"`

References

<https://developer.github.com/v3/repos/#list-your-repositories>

See also

[`get_user_repos_list`], [`get_org_repos_list`]