Documentation

BundleApi extends AbstractApi
in package

Manage project bundles

Table of Contents

Methods

checkExportStatus()  : BundleExport|null
Check Bundle Export Status
create()  : Bundle|null
Add Bundle
delete()  : mixed
Delete Bundle
download()  : DownloadFile|null
Download Bundle
export()  : BundleExport
Export Bundle
get()  : Bundle|null
Get Bundle Info
list()  : ModelCollection
List Bundles
listBranches()  : ModelCollection
List Bundle Branches
listFiles()  : ModelCollection
List Files
update()  : Bundle|null
Edit Bundle

Methods

create()

Add Bundle

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

string $data[name] required
string $data[format] required
string[] $data[sourcePatterns] required
string[] $data[ignorePatterns]
string $data[exportPattern] required Note: Can't contain \ / : * ? " < > | symbols
int[] $data[labelIds]

Tags
link

API Documentation

API Documentation Enterprise

Return values
Bundle|null

listBranches()

List Bundle Branches

public listBranches(int $projectId, int $bundleId[, array<string|int, mixed> $params = [] ]) : ModelCollection
Parameters
$projectId : int
$bundleId : int
$params : array<string|int, mixed> = []

integer $params[limit]
integer $params[offset]

Tags
link

API Documentation

Return values
ModelCollection
On this page

Search results