GET
github_repos_list_for_authenticated_user.py
from charter.packs import github
result = await github.repos_list_for_authenticated_user.ainvoke({})
Requires
repo, read:user. Pages by number: page with per_page.Query parameters
| Field | Type | Description |
|---|---|---|
perPage | integer | The number of results per page (max 100). Defaults to 30. ≥ 1; ≤ 100; defaults to 30 |
page | integer | The page number of the results to fetch. Defaults to 1. ≥ 1; defaults to 1 |
visibility | RepoVisibility | Limit results to repositories with the specified visibility. GitHub uses all when this is omitted. Cannot be combined with type. |
affiliation | string | Comma-separated list of values. Must be one or more of: owner, collaborator, organization_member. GitHub uses owner,collaborator,organization_member when this is omitted. Cannot be combined with type. |
type | RepoType | Limit results to repositories of the specified type. GitHub uses all when this is omitted. Cannot be combined with visibility or affiliation — GitHub answers 422 to a request carrying both. |
sort | RepoSort | The property to sort the results by. Defaults to full_name. defaults to "full_name" |
direction | SortDirection | The order to sort by. Default: asc when using full_name, otherwise desc. |
since | string | Only show repositories updated after the given time, in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. format date-time |
before | string | Only show repositories updated before the given time, in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. format date-time |