Skip to main content
POST
Merge a commit into a branch

Authorizations

Authorization
string
header
required

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

Path Parameters

namespace
string
required

Namespace of the repository

repo_name
string
required

Name of the repository

branch_name
string
required

Name of the branch to merge into (the target branch)

Body

application/json

Client and Server commit IDs for performing the merge.

client_commit_id
string
required
server_commit_id
string
required

Response

Merge successful or merge conflicts encountered. Returns the new head commit.

status
string
required
status_message
string
required
commit
object
required
Example:
oxen_version
string | null