Documentation

DistributionApi extends AbstractApi
in package

Distribution is a CDN vault that mirrors your project’s translated content and is required for integration with the iOS, Android, or Web apps.

Table of Contents

Methods

create()  : Distribution|null
Add Distribution
delete()  : mixed
Delete Distribution
get()  : Distribution|null
Get Distribution
getRelease()  : DistributionRelease|null
Get Distribution Release
list()  : ModelCollection
List Distributions
release()  : DistributionRelease|null
Release Distribution
update()  : Distribution|null
Edit Distribution

Methods

create()

Add Distribution

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

string $data[exportMode] Enum: "default" "bundle" Default: "default"
string $data[name] required
int[] $data[fileIds] required
string $data[format] required for 'bundle' export mode
string $data[exportPattern] required for 'bundle' export mode. Note: Can't contain \ / : * ? " < > | symbols
int[] $data[labelIds]

Tags
link

API Documentation

link

API Documentation Enterprise

Return values
Distribution|null

        
On this page

Search results