image-IZnxsU.png
- ownerUserId
-
Stephan Heller @stephan.heller
- name
- image-IZnxsU.png
- mimeType
- image/png
- sizeBytes
- 39377984
- url
- https://files.example.com/objects/310/image-IZnxsU.png
- parentFolderId
- —
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #310
image-IZnxsU.png
#310
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/310" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/310" ); 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/310"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/310"
)
file = res.json() Response
{
"id": 310,
"ownerUserId": 82,
"name": "image-IZnxsU.png",
"mimeType": "image/png",
"sizeBytes": 39377984,
"url": "https://files.example.com/objects/310/image-IZnxsU.png",
"parentFolderId": null,
"isFolder": false,
"createdAt": "2026-02-05T06:32:37.232Z",
"updatedAt": "2026-04-08T14:49:00.840Z"
}