Skip to main content
POST
Create a new branch

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespace
string
required

Namespace of the repository

repo_name
string
required

Name of the repository

Body

application/json

Branch creation details. Can be created from another branch or a commit ID.

from_name
string
required
new_name
string
required

Response

Branch created

status
string
required
status_message
string
required
branch
object
required
oxen_version
string | null