queues

Get the base refs in the repository

Changed on

Retrieve a list of base refs branches affected by queue activity

get/repos/{owner}/{repository}/queues/branches

Request

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

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

base_refsstring[] required

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