Get PR exit reasons by interval
Changed onCount of pull request queue-session exits by reason, grouped by time intervals. Each queue session (enter → leave) is counted once. A PR re-queued after failure appears in each session separately.
Request
- Base URL: https://api.mergify.com/v1
- URL: https://api.mergify.com/v1/repos/{owner}/{repository}/stats/queues_pr_exit_reasons
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
Path parameters
The name of the repository
The owner of the repository
Query parameters
Base reference(s) of the pull requests
Name of the merge queue(s) for the pull requests
Name of the priority rule(s) of the pull requests
Get the stats from this date: an ISO 8601 datetime with a UTC offset (e.g. 2024-01-01T00:00:00Z); a Unix timestamp or a datetime without an offset is refused. Defaults to 1 day before end_at.
Get the stats until this date: an ISO 8601 datetime with a UTC offset (e.g. 2024-01-01T00:00:00Z); a Unix timestamp or a datetime without an offset is refused. Defaults to now.
Response
Successful Response
Changes
- info
the endpoint scheme security
MergifyTokenBearerAuthwas added to the API
- info
- info
the endpoint scheme security
AdminApplicationKeywas added to the API - info
the endpoint scheme security
ApplicationAuthwas removed from the API
- info