Get Least Common Ancestor

Returns the least common ancestor of the two commits. Throws if either commit doesn’t exist.

Path parameters

resourceRidstringRequired

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
commit1stringRequired

40 hex character unique identifier.

commit2stringRequired

40 hex character unique identifier.

Response

This endpoint returns a string.