v52

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2026-08-03134119177.4 KB
refs

find the merge base for 2 references

get/repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch}

Response

Found the merge base

source_commit_idstring required

The commit ID of the merge source

destination_commit_idstring required

The commit ID of the merge destination

base_commit_idstring required

The commit ID of the merge base