Skip to main content
GET
Get a repository's merge train

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

repository_id
string<uuid>
required

Query Parameters

pull_request
integer

Narrow the train to one pull request: its active entry, if any, and every entry it left the train with, newest first, however many other entries settled since.

Required range: x >= 1
recent_limit
integer
default:20

How many settled entries to list in recent.

Required range: 1 <= x <= 200

Response

The merge train.

repository_id
string<uuid>
required
settings
object
required
entries
object[]
required

The train in order, first car first.

recent
object[]
required

The most recently settled entries, newest first.

auto_admit_decisions
object[]
required

Auto-admit's latest decision per green pull request, the most recently changed first: in shadow, what it would have admitted and why it left the rest out.