Drives
The Drive object is used to represent a drive that contains the folders and files in the user's workspace.
Properties

idUUID
Required

remote_idString
Optional
The third-party API ID of the matching object.

created_atDateTime (ISO 8601)
Required

modified_atDateTime (ISO 8601)
Required
This is the datetime that this object was last updated by Merge

nameString
Optional
The drive's name.

remote_created_atDateTime (ISO 8601)
Optional
When the third party's drive was created.

drive_urlString
Optional
The drive's url.

remote_was_deletedBoolean
Required
Indicates whether or not this object has been deleted in the third party platform.

field_mappingsObject
Optional

remote_dataArray
Optional


GET
/drives

https://api.merge.dev/api/filestorage/v1/drives

US
EU

Returns a list of Drive objects.


Query & Path Parameters

created_afterDateTime (ISO 8601)
Optional
If provided, will only return objects created after this datetime.

created_beforeDateTime (ISO 8601)
Optional
If provided, will only return objects created before this datetime.

cursorString
Optional
The pagination cursor value.

include_deleted_dataBoolean
Optional
Whether to include data that was marked as deleted by third party webhooks.

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

modified_afterDateTime (ISO 8601)
Optional
If provided, only objects synced by Merge after this date time will be returned.

modified_beforeDateTime (ISO 8601)
Optional
If provided, only objects synced by Merge before this date time will be returned.

nameString
Optional
If provided, will only return drives with this name. This performs an exact match.

page_sizeInteger
Optional
Number of results to return per page.

remote_idString
Optional
The API provider's ID for the given object.

Field support by integration
See all supported fields
Use the /linked-accounts endpoint to pull platform support information
Google Drive
Google Drive
OneDrive
OneDrive
SharePoint
SharePoint
Not seeing an integration that you're looking for? Submit a request for it.
GET
/drives/{id}

https://api.merge.dev/api/filestorage/v1/drives/{id}

US
EU

Returns a Drive object with the given id.


Query & Path Parameters

idUUID
Required

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.
Field support by integration
See all supported fields
Use the /linked-accounts endpoint to pull platform support information
Google Drive
Google Drive
OneDrive
OneDrive
SharePoint
SharePoint
Not seeing an integration that you're looking for? Submit a request for it.