Content
List recent GitHub activity
Changed onLists pull requests merged into the default branch, commits on the default branch, or releases published in a connected repository within a time window, so you can decide what to write about before calling create_post or generate_post. Reads GitHub live; pagination follows GitHub's pages, so a page can hold fewer items than the page size while nextPage is still set.
get/v1/integrations/github/{integrationId}/activity
Request
- Base URLhttps://api.usenotra.com
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/usenotra/apis/notra-api/docs/v1/integrations/github/:integrationId/activity/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
integrationIdstring required
Example:51c2f3aa-efdd-4e28-8e69-23fa2dfd3561
Query parameters
type'pull_requests' | 'commits' | 'releases'
Activity to list: pull requests merged into the default branch, commits on the default branch, or releases published in the repository.
Example:pull_requests
sincestring date-time
Start of the window (ISO 8601). Defaults to 7 days ago.
Example:2026-10-23T00:00:00Z
untilstring date-time
End of the window (ISO 8601). Defaults to now.
Example:2026-10-30T00:00:00Z
pageinteger
Page number
Example:1
Response
Activity fetched successfully
Example response
{
"items": [
{
"ref": "482"
}
]
}Changes
- info
endpoint added
- info