Create Drive items ​
Endpoint ​
POST /unified/file-storage/drive-itemsIntegrations supported
- Dropbox - Business
- Egnyte
- 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]=barRequest Body ​
Refer Writing data using Unified APIsThe file to be uploaded.
Required in
- Dropbox - Business
- Egnyte
- SharePoint
Supported in
- OneDrive
The parent folder path
Required in
- Dropbox - Business
- Egnyte
Type of item to create - either file or folder
filefolder
Enum support by integration
- OneDrive
filefolder
Required in
- OneDrive
The name for the folder.
Supported in
- OneDrive
Required in
- OneDrive
- SharePoint
The unique identifier of a folder
The drive of the drive item
Required in
- OneDrive
- SharePoint
the unique identified of a drive
Any 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
Supported in
- Dropbox - Business
- OneDrive
- SharePoint
The name of the drive item
Supported in
- Dropbox - Business
- Egnyte
- OneDrive
- SharePoint
The public URL of the drive item
Supported in
- OneDrive
- SharePoint
The path of the drive item
Supported in
- Dropbox - Business
- Egnyte
- OneDrive
- SharePoint
The URLs of the drive item
Supported in
- OneDrive
- SharePoint
The URL of the drive item
The type of the drive item
selfthumbnail
The type of the drive item
filefolder
Supported in
- OneDrive
- SharePoint
Whether the drive item has children
The size of the drive item
Supported in
- Dropbox - Business
- Egnyte
- OneDrive
- SharePoint
The mime type of the drive item
Supported in
- OneDrive
- SharePoint
The description of the drive item
The parent folder of the drive item
Supported in
- OneDrive
- SharePoint
The unique identifier for a folder
The name of the folder
The drive of the drive item
Supported in
- OneDrive
- SharePoint
The unique identifier for a drive
The creator of the drive item
Supported in
- 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
The date and time the drive item was created
Supported in
- Dropbox - Business
- OneDrive
- SharePoint
The date and time the drive item was last updated
Supported in
- Dropbox - Business
- OneDrive
- SharePoint
Raw data returned from the remote API call.