Cloud Storage
Dropbox is a cloud-based file storage system. Using Agave, you can integrate with Dropbox and dozens of other systems in hours using a single API.
Files Management | Read | Write |
---|---|---|
files | ||
folders | ||
Passthrough Requests | Read | Write |
More Dropbox endpoints (without unified model) |
Agave has sandbox environments with sample data that you can use instead of spending time creating your own.
Agave provides unified models and access to source data. In addition, we even support passthrough requests, so you are never blocked by us.
curl https://api.agaveapi.com/files \
# 3 headers that are consisttent
-H 'Api-Version: 2021-11-21' \
-H 'Client-Id: your-client-id' \
-H 'Client-Secret: your-client-secret' \
# Change the account token to request data from different accounts and different systems
-H 'Account-Token: dropbox-example-account-token'
Consistent schema across all systems
{
"id": "ee9b53e7-f982-4be6-bc12-75f716d3ee94",
"source_id": "12345",
"creator_id": "ee9b53e7-f982-4be6-bc12-75f716d3ee94",
"file_version_id": "ee9b53e7-f982-4be6-bc12-75f716d3ee94",
"filename": "Test_File.pdf",
"folder_id": "ee9b53e7-f982-4be6-bc12-75f716d3ee94",
"name": "Test_File",
"notes": [ "This File is confidential." ],
"preview_url": "https://storage.agaveapi.com/preview/file.pdf?signature=xxx&expires_at=20220101T000001Z",
"size": 98765,
"type": "Adobe Acrobat PDF",
"url": "https://storage.agaveapi.com/download/file.pdf?signature=xxx&expires_at=20220530T031901Z",
"version": "4",
"source_create_time": "2022-01-01T00:00:00Z",
"source_update_time": "2022-01-01T00:00:00Z",
}
Get raw output from Dropbox
{
".tag": "file",
"name": "Test_File",
"path_lower": "/Test_File.pdf",
"path_display": "/Test_File.pdf",
"id": "id:12345",
"client_modified": "2022-01-01T00:00:00Z",
"server_modified": "2022-01-01T00:00:00Z",
"rev": "4",
"size": 98765,
"is_downloadable": false,
"export_info": {
"export_as": "html",
"export_options": [...]
},
"content_hash": "1abcdef28371571e460a82d4a785390fd68d50fd049916bda90f397f30cd55a77"
}
Option to call Dropbox APIs directly
curl --request POST https://api.agaveapi.com/passthrough \
--header 'API-Version: 2021-11-21' \
--header 'Client-Id: your-client-id' \
--header 'Client-Secret: your-client-secret' \
--header 'Account-Token: dropbox-account-token' \
--header 'Content-Type: application/json' \
--data-raw '{
"method": "GET",
"path": "/rest/v1.0/files",
"data": { "path": "/project-12345/" }
}'
We also support the following features for Dropbox.