Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 795 Bytes

file.rst

File metadata and controls

51 lines (34 loc) · 795 Bytes

Back to index

Files

$result = $client->file->read([
    // file fields to select
    'id',
    'name',
    'url'
], [
    // arguments for selecting files
    'ids' => [123456789]
]);
$filepath = '/path/to/file.txt';
$updateId = 123456789;
$result = $client->file->addToUpdate($filepath, $updateId);
$filepath = '/path/to/file.txt';
$itemId = 123456789;
$columnId = 'files';
$result = $client->file->addToColumn($filepath, $itemId, $columnId);

Back to top