Documentation

DirectoryApi extends AbstractApi
in package

Manage project directories to keep files structure

Table of Contents

Methods

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

Methods

create()

Add Directory

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

string $data[name] required
integer $data[branchId]
integer $data[directoryId]
string $data[title]
string $data[exportPattern]
string $data[priority] Enum: "low" "normal" "high"

Tags
link

API Documentation

link

API Documentation Enterprise

Return values
Directory|null

        
On this page

Search results