refs

find the merge base for 2 references

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

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch}
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or API key in cookie internal_auth_session

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

Changes

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status