Skip to main content
GET
Get merge base

Authorizations

Authorization
string
header
required

Bearer token authorizing this operation's repository action. Each operation's security requirement names the resource action the token must be authorized for (pull or push).

Path Parameters

repoId
string
required

Repository ULID.

Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$

Query Parameters

commitA
string
required

Branch, tag, or commit SHA, optionally with a ^/~N revision suffix.

Minimum string length: 1
commitB
string
required

Branch, tag, or commit SHA, optionally with a ^/~N revision suffix.

Minimum string length: 1

Response

OK

resolvedSHAs
string[] | null
required

Resolved input ref SHAs in request order.

$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://aws-us-east-2.entire.io/api/v1/schemas/MergeBaseResponse.json"

mergeBaseSHA
string

Commit SHA of the merge base.

Pattern: ^[0-9a-f]{40}$|^[0-9a-f]{64}$