curl "https://app.drime.cloud/api/v1/drive/file-entries?workspaceId=0&perPage=50" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{ "data": [ { "id": 485529677, "name": "My Documents", "type": "folder", "hash": "NDg1NTI5Njc3fA", "file_size": 0, "parent_id": null, "workspace_id": 0, "created_at": "2024-01-15T10:30:00.000000Z", "updated_at": "2024-01-15T10:30:00.000000Z" }, { "id": 485529678, "name": "photo.jpg", "type": "image", "hash": "NDg1NTI5Njc4fA", "file_size": 2048576, "mime": "image/jpeg", "extension": "jpg", "parent_id": null, "workspace_id": 0, "created_at": "2024-01-14T08:20:00.000000Z", "updated_at": "2024-01-14T08:20:00.000000Z" } ], "folder": null, "current_page": 1, "last_page": 1, "per_page": 50, "total": 2, "from": 1, "to": 2 }
Get a list of files and folders
0
folder
image
text
audio
video
pdf
updated_at
created_at
name
file_size
asc
desc