Merge
Check if branches are mergeable
Check if two branches can be merged and list any conflicts.
get/api/repos/{namespace}/{repo_name}/merge/{base_head}
Request
- Base URLhttps://hub.oxen.ai
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/oxen/apis/oxen-server/docs/api/repos/:namespace/:repo_name/merge/:base_head/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
namespacestring required
Namespace of the repository
repo_namestring required
Name of the repository
base_headstring required
The base and head revisions separated by '..'
Response
Merge status returned successfully
Example response
{
"commits": [
{
"author": "ox",
"email": "ox@example.com",
"id": "a1b2c3d4e5f67890abcdef1234567890",
"message": "Refactor data loading pipeline.",
"parent_ids": [
"f1e2d3c4b5a67890fedcba9876543210"
],
"timestamp": "2025-01-01T10:00:00Z"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.