photo-usb36Z.jpg
- ownerUserId
-
Otho Nikolaus @otho.nikolaus99
- name
- photo-usb36Z.jpg
- mimeType
- image/jpeg
- sizeBytes
- 10656447
- url
- https://files.example.com/objects/412/photo-usb36Z.jpg
- parentFolderId
- files/76
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #412
photo-usb36Z.jpg
#412
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/412" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/412" ); 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/412"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/412"
)
file = res.json() Response
{
"id": 412,
"ownerUserId": 209,
"name": "photo-usb36Z.jpg",
"mimeType": "image/jpeg",
"sizeBytes": 10656447,
"url": "https://files.example.com/objects/412/photo-usb36Z.jpg",
"parentFolderId": 76,
"isFolder": false,
"createdAt": "2026-02-25T13:11:07.175Z",
"updatedAt": "2026-05-12T16:40:05.923Z"
}