File
object is used to represent a file in the workspace. The Object typically exists under a folder or drive, if it exists.id
UUIDremote_id
Stringcreated_at
DateTime (ISO 8601)modified_at
DateTime (ISO 8601)name
Stringfile_url
Stringfile_thumbnail_url
Stringsize
Integermime_type
Stringdescription
Stringfolder
UUIDpermissions
Permission[]id
UUIDremote_id
Stringcreated_at
DateTime (ISO 8601)modified_at
DateTime (ISO 8601)user
UUIDUSER
.group
UUIDGROUP
.type
EnumUSER
, GROUP
, COMPANY
, ANYONE
. In cases where there is no clear mapping, the original value passed through will be returned. To receive all enum values in the original format, use the show_enum_origins query parameter. Learn more.roles
ArrayREAD
, WRITE
, OWNER
. In cases where there is no clear mapping, the original value passed through will be returned.drive
UUIDremote_created_at
DateTime (ISO 8601)remote_updated_at
DateTime (ISO 8601)remote_was_deleted
Booleanfield_mappings
Objectremote_data
RemoteData[]RemoteData
object is used to represent the full data pulled from the third-party API for an object.path
Stringdata
Anyhttps://api.merge.dev/api/filestorage/v1/files
Returns a list of File
objects.
created_after
DateTime (ISO 8601)created_before
DateTime (ISO 8601)cursor
Stringdrive_id
Stringexpand
Stringfolder_id
Stringinclude_deleted_data
Booleaninclude_remote_data
Booleaninclude_shell_data
Booleanmime_type
Stringmodified_after
DateTime (ISO 8601)modified_before
DateTime (ISO 8601)name
Stringpage_size
Integerremote_id
String
Supported Response Fields
description
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
file_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
description
Stringdrive
UUIDfile_thumbnail_url
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integerhttps://api.merge.dev/api/filestorage/v1/files
Creates a File
object with the given values.
is_debug_mode
Booleanrun_async
Booleanmodel
Objectname
Stringfile_url
Stringfile_thumbnail_url
Stringsize
Integermime_type
Stringdescription
Stringfolder
UUIDid
field in the Folder object.permissions
Arraydrive
UUIDid
field in the Drive object.integration_params
Objectlinked_account_params
Object
Supported POST Model Parameters
description
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported POST Model Parameters
file_url
Stringfolder
UUIDmime_type
Stringname
Stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported POST Model Parameters
drive
UUIDfile_thumbnail_url
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported POST Model Parameters
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported POST Model Parameters
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integerhttps://api.merge.dev/api/filestorage/v1/files/{id}
Returns a File
object with the given id
.
expand
Stringid
UUIDinclude_remote_data
Boolean
Supported Response Fields
description
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
file_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
description
Stringdrive
UUIDfile_thumbnail_url
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integerhttps://api.merge.dev/api/filestorage/v1/files/{id}/download
Returns the File
content with the given id
as a stream of bytes.
id
UUIDmime_type
String
Supported Response Fields
description
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
file_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
description
Stringdrive
UUIDfile_thumbnail_url
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integerhttps://api.merge.dev/api/filestorage/v1/files/{id}/download/request-meta
Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party.
expand
Stringid
UUIDinclude_remote_data
Boolean
Supported Response Fields
description
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
file_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
description
Stringdrive
UUIDfile_thumbnail_url
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integerhttps://api.merge.dev/api/filestorage/v1/files/download/request-meta
Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party.
cursor
Stringexpand
Stringinclude_deleted_data
Booleaninclude_remote_data
Booleaninclude_shell_data
Booleanpage_size
Integer
Supported Response Fields
description
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
file_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
description
Stringdrive
UUIDfile_thumbnail_url
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported Response Fields
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_data
RemoteData[]path
stringdata
stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integerhttps://api.merge.dev/api/filestorage/v1/files/meta/post
Returns metadata for FileStorageFile
POSTs.

Supported POST Model Parameters
description
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported POST Model Parameters
file_url
Stringfolder
UUIDmime_type
Stringname
Stringremote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported POST Model Parameters
drive
UUIDfile_thumbnail_url
Stringfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported POST Model Parameters
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer
Supported POST Model Parameters
drive
UUIDfile_url
Stringfolder
UUIDmime_type
Stringname
Stringpermissions
Permission[]id
stringremote_id
stringcreated_at
stringmodified_at
stringuser
stringgroup
stringtype
stringroles
arrayremote_created_at
DateTime (ISO 8601)remote_id
Stringremote_updated_at
DateTime (ISO 8601)size
Integer