Storage API

File Storage integrations allow you to access your customer's files and folders across various cloud storage platforms like Google Drive, Dropbox, OneDrive, and more.

Use Cases

  • Build a unified file manager interface for multiple storage providers
  • Sync files between different storage platforms
  • Backup and archive management
  • Media asset management

You can see an example implementation in our File Manager repo.

Working with Hierarchical Data in File Storage APIs

File Storage integrations typically organize data in a hierarchical (tree-like) structure. For detailed guidance on traversing hierarchical data, refer to our guide: How to traverse hierarchical data

The StorageFile Object

Both files and folders are represented by the StorageFile object. They are distinguished by the type field:

  • type: "FILE" - Represents a file
  • type: "FOLDER" - Represents a folder

This means you'll use the same API endpoints to work with both files and folders, just with different type values.

Are we missing anything? Let us know
Was this page helpful?