Files

files

Methods

Upload File ->
post/v5/files

Upload File

Import Files From Existing Blob Storage In Cloud Batch Operation -> { results }
post/v5/files/cloud_imports

Import files from existing blob storage in cloud (batch operation)

List Files -> CursorPage<>
get/v5/files

List Files

query Parameters
ending_before: string
Optional
filename: string
Optional

Filter files by filename (case-insensitive partial match)

limit: number
Optional
(maximum: 1000, minimum: 1, default: 100)
sort_by: string
Optional
sort_order:
Optional
(default: "asc")
"asc"
"desc"
starting_after: string
Optional
Response fields
has_more: boolean

Whether there are more items left to be fetched.

items: Array<>
total: number

The total of items that match the query. This is greater than or equal to the number of items returned.

limit: number
Optional
(default: 100)

The maximum number of items to return.

object: "list"
Optional
(default: "list")
Request example
200Example
Update File ->
patch/v5/files/{file_id}

Update File

Get File ->
get/v5/files/{file_id}

Get File

Delete File -> { id, deleted, object }
delete/v5/files/{file_id}

Delete File

Domain types

File = { id, created_at, created_by, 7 more... }
Files

Content

files.content

Methods

Get File Content -> unknown
get/v5/files/{file_id}/content

Get File Content