Skip to main content
POST
Merge an application's setup pull request

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

application_id
string
required

Response

The setup pull request is merged: by this call (outcome merged) or by someone before it (outcome already_merged)

A merge of an application's setup pull request from Ankra: whether this call merged it, the commit Ankra built and merged, and the commit it landed as.

outcome
enum<string>
required

merged when this call merged the pull request; already_merged when someone merged it before the call reached GitHub.

Available options:
merged,
already_merged
pull_request_url
string
required

The setup pull request.

head_sha
string
required

The head commit that was merged, the one Ankra built.

merge_commit_sha
string | null
required

The commit the merge landed as on the base branch; null when GitHub did not say.

merged_at
string<date-time>
required

When the pull request merged: GitHub's time for an earlier merge, the time of this call otherwise.