GET
github_issues_list_milestones.py
from charter.packs import github
result = await github.issues_list_milestones.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 |
state | IssueState | The state of the milestone. GitHub uses open when this is absent. |
sort | MilestoneSort | What to sort results by. GitHub uses due_on when this is absent; completeness sorts by how much of the milestone is closed. |
direction | SortDirection | The direction of the sort. GitHub uses asc when this is absent. |