photo-OsVRus.jpg
- ownerUserId
-
Jonas Rath @jonas.rath
- name
- photo-OsVRus.jpg
- mimeType
- image/jpeg
- sizeBytes
- 47503972
- url
- https://files.example.com/objects/296/photo-OsVRus.jpg
- parentFolderId
- files/7
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #296
photo-OsVRus.jpg
#296
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/296" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/296" ); const file = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/files.d.ts https://example-data.com/types/files.d.ts
import type { File } from "./types/files";
const res = await fetch(
"https://example-data.com/api/v1/files/296"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/296"
)
file = res.json() Response
{
"id": 296,
"ownerUserId": 138,
"name": "photo-OsVRus.jpg",
"mimeType": "image/jpeg",
"sizeBytes": 47503972,
"url": "https://files.example.com/objects/296/photo-OsVRus.jpg",
"parentFolderId": 7,
"isFolder": false,
"createdAt": "2024-12-06T11:29:16.400Z",
"updatedAt": "2025-11-16T22:45:36.431Z"
}