Skip to content
  • Auto
  • Light
  • Dark

Branches

Branches

Branches

Create a new branch for a project
client.projects.branches.create(BranchCreateParamsparams, RequestOptionsoptions?): branchstringconfig_commitCommitlatest_buildunionobject"project_branch"orgstringprojectstringProjectBranch
post/v0/projects/{project}/branches
Delete a project branch
client.projects.branches.delete(stringbranch, BranchDeleteParamsparams?, RequestOptionsoptions?): BranchDeleteResponse
delete/v0/projects/{project}/branches/{branch}
List project branches
client.projects.branches.list(BranchListParamsparams?, RequestOptionsoptions?): Page<branchstringconfig_commitCommitlatest_build_idstringobject"project_branch"orgstringprojectstringBranchListResponse>
get/v0/projects/{project}/branches
Retrieve a project branch
client.projects.branches.retrieve(stringbranch, BranchRetrieveParamsparams?, RequestOptionsoptions?): branchstringconfig_commitCommitlatest_buildunionobject"project_branch"orgstringprojectstringProjectBranch
get/v0/projects/{project}/branches/{branch}
Project Branch
ProjectBranch
ShowShow
branchstring
config_commitrepoReposhastringCommit
latest_buildunion
idstringconfig_commitstringcreated_atstringdocumented_specunionobject"build"orgstringprojectstringtargetsTargetsupdated_atstringBuildObject | null
object"project_branch"
Hide ParametersShow Parameters
"project_branch"
orgstring
projectstring