files list
GET {{baseUrl}}/files
Returns a list of File
objects.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
created_after | string | If provided, will only return objects created after this datetime. | |
created_before | string | If provided, will only return objects created before this datetime. | |
cursor | string | The pagination cursor value. | |
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
summary | string | If provided, will only return files in this folder. If null, will return files in root directory. | |
include_deleted_data | boolean | Whether to include data that was marked as deleted by third party webhooks. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. | |
modified_after | string | If provided, will only return objects modified after this datetime. | |
modified_before | string | If provided, will only return objects modified before this datetime. | |
name | string | If provided, will only return files with this name. | |
page_size | number | Number of results to return per page. | |
remote_id | string | The API provider's ID for the given object. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"next":"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw","previous":"cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ","results":[{"id":"5ff71461-57c0-4c3e-aabd-a1a5650866dc","remote_id":"12","name":"omg_common_model_scope.docx","file_url":"https://drive.com/1234","size":254,"mime_type":".docx","description":"This file is OP","folder":"276fd0e2-e135-8f22-ed16-9d66225fd0f6","remote_created_at":"1961-06-05T13:44:50.104Z","remote_updated_at":"1998-01-18T19:47:49.952Z","field_mappings":{"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},"remote_data":[{"nulla_1d1":{}},{"dolor_b":{}}]},{"id":"urn:uuid:accd8a19-9b1a-3141-0917-98ccc35294d6","remote_id":"12","name":"omg_common_model_scope.docx","file_url":"https://drive.com/1234","size":254,"mime_type":".docx","description":"This file is OP","folder":"696f3df8-c156-8abd-8775-54a176585d78","remote_created_at":"1998-04-10T10:36:57.821Z","remote_updated_at":"1980-03-14T16:12:58.474Z","field_mappings":{"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},"remote_data":[{"ut_33":{},"enime9":{},"Ut_15":{}},{"exercitationbf2":{}}]}]}