Documentation

BranchApi extends AbstractApi
in package

Manage project branches

Note: If you use branches, make sure your master branch is the first one you integrate with Crowdin.

Table of Contents

Methods

create()  : Branch|null
Add Branch
delete()  : mixed
Delete Branch
get()  : Branch|null
Get Branch Info
list()  : ModelCollection
List Branches
update()  : Branch|null
Edit Branch

Methods

create()

Add Branch

public create(int $projectId, array<string|int, mixed> $data) : Branch|null
Parameters
$projectId : int
$data : array<string|int, mixed>

string $data[name] required Note: Can't contain \ / : * ? " < > | symbols
string $data[title]
string $data[exportPattern] Note: Can't contain \ / : * ? " < > | symbols
string $data[priority] Enum: "low" "normal" "high"

Tags
link

API Documentation

link

API Documentation Enterprise

Return values
Branch|null

        
On this page

Search results