GET
github_notifications_list.py
from charter.packs import github
result = await github.notifications_list.ainvoke({})
Requires
repo, read:user. Pages by number: page with per_page.Query parameters
| Field | Type | Description |
|---|---|---|
all | boolean | If true, show notifications marked as read. Absent, only unread ones come back. |
participating | boolean | If true, only shows notifications in which the user is directly participating or mentioned — the ones that are about you rather than about a repository you watch. |
since | string | Only show results that were last updated after the given time, in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. format date-time |
before | string | Only show notifications updated before the given time, in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. format date-time |
perPage | integer | The number of results per page. This endpoint’s maximum is 50, not the 100 the rest of the REST API allows. Defaults to 50. ≥ 1; ≤ 50 |
page | integer | The page number of the results to fetch. Defaults to 1. ≥ 1 |