Drives
The
Drive
object is used to represent a drive that contains the folders and files in the user's workspace.Properties
id
UUIDRequired
remote_id
StringOptional
The third-party API ID of the matching object.
name
StringOptional
The drive's name.
remote_created_at
DateTime (ISO 8601)Optional
When the third party's drive was created.
drive_url
StringOptional
The drive's url.
remote_was_deleted
BooleanRequired
Indicates whether or not this object has been deleted in the third party platform.
created_at
DateTime (ISO 8601)Required
modified_at
DateTime (ISO 8601)Required
This is the datetime that this object was last updated by Merge
field_mappings
ObjectOptional
remote_data
ArrayOptional
GET
/drives
https://api.merge.dev/api/filestorage/v1/drives
US
EU
Returns a list of Drive
objects.
Query & Path Parameters
created_after
DateTime (ISO 8601)Optional
If provided, will only return objects created after this datetime.
created_before
DateTime (ISO 8601)Optional
If provided, will only return objects created before this datetime.
cursor
StringOptional
The pagination cursor value.
include_deleted_data
BooleanOptional
Whether to include data that was marked as deleted by third party webhooks.
include_remote_data
BooleanOptional
Whether to include the original data Merge fetched from the third-party to produce these models.
modified_after
DateTime (ISO 8601)Optional
If provided, only objects synced by Merge after this date time will be returned.
modified_before
DateTime (ISO 8601)Optional
If provided, only objects synced by Merge before this date time will be returned.
name
StringOptional
If provided, will only return drives with this name. This performs an exact match.
page_size
IntegerOptional
Number of results to return per page.
remote_id
StringOptional
The API provider's ID for the given object.
Field support by integration
See all supported fields
Google Drive
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API.
Supported Response Fields
drive_url
Stringname
Stringremote_created_at
DateTime (ISO 8601)remote_data
Arrayremote_id
String
OneDrive
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API.
Supported Response Fields
drive_url
Stringname
Stringremote_created_at
DateTime (ISO 8601)remote_data
Arrayremote_id
String
SharePoint
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API.
Supported Response Fields
drive_url
Stringname
Stringremote_created_at
DateTime (ISO 8601)remote_data
Arrayremote_id
StringGET
/drives/{id}
https://api.merge.dev/api/filestorage/v1/drives/{id}
US
EU
Returns a Drive
object with the given id
.
Query & Path Parameters
id
UUIDRequired
include_remote_data
BooleanOptional
Whether to include the original data Merge fetched from the third-party to produce these models.
Field support by integration
See all supported fields
Google Drive
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API.
Supported Response Fields
drive_url
Stringname
Stringremote_created_at
DateTime (ISO 8601)remote_data
Arrayremote_id
String
OneDrive
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API.
Supported Response Fields
drive_url
Stringname
Stringremote_created_at
DateTime (ISO 8601)remote_data
Arrayremote_id
String
SharePoint
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API.
Supported Response Fields
drive_url
Stringname
Stringremote_created_at
DateTime (ISO 8601)remote_data
Arrayremote_id
String