v1

latestOpenAPI 3.1.02026-07-241630614.2 KB

Get files

The method for obtaining account files that meet specified filters requires a request to be sent to the file service host.

get/v1.0/files

Query parameters

filter[uuid]string[]

Array of file UUIDs, separated by commas

filter[name]string

File name

filter[extensions][]string

File extension

filter[term]string

A substring in the name of a file or the name of one of the related entities

filter[source_id]integer

ID of the source the file was obtained from

filter[deleted]string json

If passed, deleted files will be displayed

filter[size][unit]integer

Number of bytes per file size unit (1 byte by default)

filter[size][from]integer

Minimum file size

filter[size][to]integer

Maximum file size

filter[date][type]string

The type of event to filter by. Possible values: created_at, updated_at

filter[date][date_preset]string

Preset for a time range. Possible values ​​– day, tomorrow, yesterday, week, previous_week, next_week, month, next_month, previous_month, quarter, previous_quarter, next_quarter, last_3_days, next_3_days, last_6_month, year

filter[date][from]integer

Time (Unix Timestamp) after which the event occurred

filter[date][to]integer

Time (Unix Timestamp) before which the event occurred

filter[created_by][]integer

File creator. Possible values: -1 – client, 0 – robot, {id} – internal user

filter[updated_by][]integer

The user who last updated the file. Possible values: -1 – client, 0 – robot, {id} – internal user

Response

200