Get Drive items ​
Endpoint ​
GET /unified/file-storage/drive-items/{id}Integrations supported
- Box
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
Path parameters ​
The ID of the resource.
23423523Query 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]=barThe type of the drive item
filefolder
Required in
- Box
The drive of the drive item
Required in
- Microsoft 365
- OneDrive
- SharePoint
The unique identifier for a drive
The unique identifier for the workspace. Only supported when the product is sharepoint.
Required in
- SharePoint
Supported in
- Microsoft 365
Select the product for which you want to fetch the drive items.
onedrivesharepoint
Required in
- Microsoft 365
Response Body ​
The unique identifier for a drive item
Supported in
- Box
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
The name of the drive item
Supported in
- Box
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
The public URL of the drive item
The path of the drive item
Supported in
- Dropbox - Business
The URLs of the drive item
Supported in
- Box
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
The URL of the drive item
The type of the drive item
selfthumbnail
The type of the drive item
filefolder
Supported in
- Box
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
Whether the drive item has children
Supported in
- Box
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
The size of the drive item
Supported in
- Box
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
The mime type of the drive item
Supported in
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
The description of the drive item
Supported in
- Box
- Google Drive
The parent folder of the drive item
Supported in
- Box
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
The unique identifier for a folder
The name of the folder
The drive of the drive item
Supported in
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
The unique identifier for a drive
The creator of the drive item
Supported in
- Box
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
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
Supported in
- Google Drive
- Microsoft 365
- SharePoint
The date and time the drive item was created
Supported in
- Box
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
The date and time the drive item was last updated
Supported in
- Box
- Dropbox - Business
- Dropbox - Personal
- Google Drive
- Microsoft 365
- OneDrive
- SharePoint
Raw data returned from the remote API call.