GET
github_issues_list_for_repo.py
from charter.packs import github
result = await github.issues_list_for_repo.ainvoke({"owner": ..., "repo": ...})
Requires
repo, read:user. Pages by number: page with per_page.Path parameters
| Field | Type | Description |
|---|---|---|
owner * | string | The account owner of the repository. The name is not case sensitive. |
repo * | string | The name of the repository without the .git extension. The name is not case sensitive. |
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 |
milestone | string | If an integer is passed, it should refer to a milestone by its number field. If the string * is passed, issues with any milestone are accepted. If the string none is passed, issues without milestones are returned. |
state | IssueState | Indicates the state of the issues to return. Defaults to open. defaults to "open" |
assignee | string | Can be the name of a user. Pass in none for issues with no assigned user, and * for issues assigned to any user. |
creator | string | The user that created the issue. |
mentioned | string | A user that’s mentioned in the issue. |
labels | string | A list of comma separated label names. Example: bug,ui,@high. |
sort | IssueSort | What to sort results by. Defaults to created. defaults to "created" |
direction | SortDirection | The direction to sort the results by. Defaults to desc. defaults to "desc" |
since | string | Only show results that were last updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. format date-time |