statistics

Get the batches skip intermediate results would have merged

Changed on

On a queue without skip_intermediate_results, the batches the option would have merged on a later batch's pass instead of waiting for their own checks, by intervals of time: how many there were, how long in total they went on waiting, in seconds, until their own checks ended or something else ended them, how many of those checks failed, making the batches tested on top of them run theirs again, and how many did not merge as they were. Each batch is counted in the interval its wait ended.

get/repos/{owner}/{repository}/stats/skip_intermediate_results_eligibility

Request

  • Base URL: https://api.mergify.com/v1
  • URL: https://api.mergify.com/v1/repos/{owner}/{repository}/stats/skip_intermediate_results_eligibility
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Path parameters

repositorystring required

The name of the repository

ownerstring required

The owner of the repository

Query parameters

base_refstring[] nullable

Base reference(s) of the pull requests

queue_namestring[] nullable

Name of the merge queue(s) for the pull requests

priority_rule_namestring[] nullable

Name of the priority rule(s) of the pull requests

start_atstring date-time nullable

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.

end_atstring date-time nullable

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