image-uQxpAV.png
- ownerUserId
-
Jo Haag-Mayer @jo_haag-mayer
- name
- image-uQxpAV.png
- mimeType
- image/png
- sizeBytes
- 15146195
- url
- https://files.example.com/objects/428/image-uQxpAV.png
- parentFolderId
- —
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #428
image-uQxpAV.png
#428
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/428" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/428" ); 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/428"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/428"
)
file = res.json() Response
{
"id": 428,
"ownerUserId": 54,
"name": "image-uQxpAV.png",
"mimeType": "image/png",
"sizeBytes": 15146195,
"url": "https://files.example.com/objects/428/image-uQxpAV.png",
"parentFolderId": null,
"isFolder": false,
"createdAt": "2026-01-02T09:08:12.006Z",
"updatedAt": "2026-01-02T17:10:57.332Z"
}