Skip to main content
POST
/
api
/
repos
/
{namespace}
/
{repo_name}
/
merge
/
{basehead}
Merge commits or branches
curl --request POST \
  --url https://hub.oxen.ai/api/repos/{namespace}/{repo_name}/merge/{basehead} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: text/plain' \
  --data '{
    "user": {
        "author": "",
        "email": "",
    },
    "message": ""
}'

Authorizations

Authorization
string
header
required

Path Parameters

namespace
string
required
Example:
repo_name
string
required
Example:
basehead
string
required
Example:

Body

text/plain · file