Pull requests as timelines of what each waited on from ready for review to merge or now: review, CI, red checks by what turned them green, and the merge queue. Scope to one author or one GitHub team (open PRs plus PRs merged in the window, date_from default -30d), or to one pull request with pr_number and repo.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/engineering_analytics/pull_request_timelines/
- Auth: HTTP bearer
Path parameters
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
GitHub login: scope the read to this author's pull requests. Pass exactly one scope.
Window start: relative ('-30d', '-8w') or ISO8601. Defaults to -30d.
Window end: relative or ISO8601. Defaults to now.
GitHub team slug: scope the read to pull requests authored by the team's members, through the team membership table. Pass exactly one scope.
Pull request number: scope the read to this one pull request. Needs repo. Pass exactly one scope.
'owner/name' repository. Required with pr_number; otherwise it picks the repository when the selected source syncs several.
Connected GitHub data warehouse source to read from. Defaults to the oldest connected GitHub source when the team has more than one.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.