curl https://app.drime.cloud/api/v1/file-entries/485529678 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const entryId = 485529678;
const response = await fetch(
`https://app.drime.cloud/api/v1/file-entries/${entryId}`,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
const { fileEntry } = await response.json();
import requests
entry_id = 485529678
response = requests.get(
f'https://app.drime.cloud/api/v1/file-entries/{entry_id}',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
file_entry = response.json()['fileEntry']
{
"status": "success",
"fileEntry": {
"id": 485529678,
"name": "photo.jpg",
"type": "image",
"hash": "NDg1NTI5Njc4fA",
"file_hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"file_size": 2048576,
"mime": "image/jpeg",
"extension": "jpg",
"parent_id": null,
"workspace_id": 0,
"url": "api/v1/file-entries/485529678",
"thumbnail_url": "https://app.drime.cloud/storage/thumbnails/abc123.jpg",
"created_at": "2024-01-14T08:20:00.000000Z",
"updated_at": "2024-01-14T08:20:00.000000Z",
"client_last_modified": 1705220400000,
"captured_at": "2024-01-13T17:45:12.000000Z",
"users": [
{
"id": 15843,
"email": "user@example.com",
"owns_entry": true
}
]
}
}
Files & Folders
Get File Entry
Get details for a specific file or folder
GET
/
file-entries
/
{entryId}
curl https://app.drime.cloud/api/v1/file-entries/485529678 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const entryId = 485529678;
const response = await fetch(
`https://app.drime.cloud/api/v1/file-entries/${entryId}`,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
const { fileEntry } = await response.json();
import requests
entry_id = 485529678
response = requests.get(
f'https://app.drime.cloud/api/v1/file-entries/{entry_id}',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
file_entry = response.json()['fileEntry']
{
"status": "success",
"fileEntry": {
"id": 485529678,
"name": "photo.jpg",
"type": "image",
"hash": "NDg1NTI5Njc4fA",
"file_hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"file_size": 2048576,
"mime": "image/jpeg",
"extension": "jpg",
"parent_id": null,
"workspace_id": 0,
"url": "api/v1/file-entries/485529678",
"thumbnail_url": "https://app.drime.cloud/storage/thumbnails/abc123.jpg",
"created_at": "2024-01-14T08:20:00.000000Z",
"updated_at": "2024-01-14T08:20:00.000000Z",
"client_last_modified": 1705220400000,
"captured_at": "2024-01-13T17:45:12.000000Z",
"users": [
{
"id": 15843,
"email": "user@example.com",
"owns_entry": true
}
]
}
}
Overview
Returns detailed information about a specific file or folder entry.Path Parameters
integer
required
The file entry ID
Query Parameters
integer
Workspace context
boolean
When true, include thumbnail information if available
Response
object
The file entry object with all details
Show FileEntry properties
Show FileEntry properties
integer
Unique entry identifier
string
File or folder name
string
Entry type:
folder, image, file, text, audio, video, pdfstring
URL-safe encoded identifier, used in share links and download URLs.
This is not a hash of the file content (see
file_hash).string
SHA-256 hex digest of the file content, when available. Set at upload time
(
fileHash body param) or by Verify File Integrity.integer
File size in bytes (0 for folders)
string
MIME type of the file
string
File extension
integer
Parent folder ID (null for root)
integer
Workspace ID
string
URL for previewing the file
string
Thumbnail URL (for images/videos)
string
When the entry was created in Drime (ISO 8601, UTC)
string
Last server-side modification: rename, move, content replace (ISO 8601, UTC)
integer
Original modification time of the file on the client machine, as a Unix epoch in
milliseconds. Set at upload time (
lastModified body param) or via
Set File Metadata. null if never provided.string
EXIF capture date for photos and videos (ISO 8601, UTC). Drives the photo timeline.
string
Request status (
success)curl https://app.drime.cloud/api/v1/file-entries/485529678 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const entryId = 485529678;
const response = await fetch(
`https://app.drime.cloud/api/v1/file-entries/${entryId}`,
{
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
}
);
const { fileEntry } = await response.json();
import requests
entry_id = 485529678
response = requests.get(
f'https://app.drime.cloud/api/v1/file-entries/{entry_id}',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
file_entry = response.json()['fileEntry']
{
"status": "success",
"fileEntry": {
"id": 485529678,
"name": "photo.jpg",
"type": "image",
"hash": "NDg1NTI5Njc4fA",
"file_hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"file_size": 2048576,
"mime": "image/jpeg",
"extension": "jpg",
"parent_id": null,
"workspace_id": 0,
"url": "api/v1/file-entries/485529678",
"thumbnail_url": "https://app.drime.cloud/storage/thumbnails/abc123.jpg",
"created_at": "2024-01-14T08:20:00.000000Z",
"updated_at": "2024-01-14T08:20:00.000000Z",
"client_last_modified": 1705220400000,
"captured_at": "2024-01-13T17:45:12.000000Z",
"users": [
{
"id": 15843,
"email": "user@example.com",
"owns_entry": true
}
]
}
}