statistics

Time to merge statistics for every queue

Changed on

Get the average time to merge statistics, in seconds, for all the queues in the repository

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

Request

  • Base URL: https://api.mergify.com/v1
  • URL: https://api.mergify.com/v1/repos/{owner}/{repository}/stats/time_to_merge
  • 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

atstring date-time nullable

Retrieve the time to merge at this timestamp: 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.

branchstring nullable

The name of the branch

Response

Successful Response

Changes

    • info

      the endpoint scheme security MergifyTokenBearerAuth was added to the API

    • info

      the endpoint scheme security AdminApplicationKey was added to the API

    • info

      the endpoint scheme security ApplicationAuth was removed from the API