Branches

Update a branch to a new commit

Update a branch to point to a different commit ID.

put/api/repos/{namespace}/{repo_name}/branches/{branch_name}

Request

Path parameters

namespacestring required

Namespace of the repository

repo_namestring required

Name of the repository

branch_namestring required

Name of the branch to update

Request body

commit_idstring required

Response

Branch updated

oxen_versionstring nullable
statusstring required
status_messagestring required

Changes

No recorded changes to this operation across all 2 revisions of this API.