Branches

Create a new branch

Create a new branch from another branch name or commit ID. Returns existing branch if name already exists.

post/api/repos/{namespace}/{repo_name}/branches

Request

Path parameters

namespacestring required

Namespace of the repository

repo_namestring required

Name of the repository

Request body

from_namestring required
new_namestring required

Response

Branch created

oxen_versionstring nullable
statusstring required
status_messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.