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
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

link

API Documentation Enterprise

Return values
Bundle|null

        
On this page

Search results