Download Drive items ​
Endpoint ​
POST /unified/file-storage/drive-items/downloadIntegrations supported
- Box
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
Query parameters ​
Refer Specifying query parameters in Truto APIs
The ID of the integrated account to use for the request.
62f44730-dd91-461e-bd6a-aedd9e0ad79dThe format of the response.
unifiedreturns the response with unified mappings applied.rawreturns the unprocessed, raw response from the remote API.normalizedapplies the unified mappings and returns the data in a normalized format.streamreturns the response as a stream, which is ideal for transmitting large datasets, files, or binary data. Using streaming mode helps to efficiently handle large payloads or real-time data flows without requiring the entire data to be buffered in memory.
Defaults to unified.
unifiedrawnormalizedstream
unifiedExcludes the remote_data attribute from the response.
Array of fields to exclude from the response.
truto_exclude_fields[]=id&truto_exclude_fields[]=nameQuery parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.
remote_query[foo]=barRequired in
- Box
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
Select the product for which you want to download the drive items.
onedrivesharepoint
Required in
- Microsoft 365
Request Body ​
Refer Writing data using Unified APIsAny additional data that should be passed as part of the request body. This data is not transformed by Truto and is passed as is to the remote API.
Response Body ​
The unique identifier for a drive item
The name of the drive item
The public URL of the drive item
The path of the drive item
The URLs of the drive item
The URL of the drive item
The type of the drive item
selfthumbnail
The type of the drive item
filefolder
Whether the drive item has children
The size of the drive item
The mime type of the drive item
The description of the drive item
The parent folder of the drive item
The unique identifier for a folder
The name of the folder
The drive of the drive item
The unique identifier for a drive
The creator of the drive item
The unique identifier for a user
The name of the user
The emails of the user
The email address
The type of email address
Whether the email address is primary
The tags associated with the drive item
The date and time the drive item was created
The date and time the drive item was last updated
Raw data returned from the remote API call.