cURL
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": "" }'
Merge commits or branches
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"7857dd05-601f-44a3-8c12-68de9c92dae1"
"e35fad8a-a942-4450-a363-30c19326a0fd"
"b2..b1"
The body is of type file.
file