GET
github_pulls_list.py
from charter.packs import github
result = await github.pulls_list.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 | Either open, closed, or all to filter by state. Defaults to open. defaults to "open" |
head | string | Filter pulls by head user or head organization and branch name in the format of user:ref-name or organization:ref-name. |
base | string | Filter pulls by base branch name. Example: gh-pages. |
sort | PullSort | What to sort results by. Defaults to created. defaults to "created" |
direction | SortDirection | The direction of the sort. Default: desc when sort is created or not specified, otherwise asc. |