photo-aJPbqo.jpg
- ownerUserId
-
Jo Haag-Mayer @jo_haag-mayer
- name
- photo-aJPbqo.jpg
- mimeType
- image/jpeg
- sizeBytes
- 41364758
- url
- https://files.example.com/objects/273/photo-aJPbqo.jpg
- parentFolderId
- files/84
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #273
photo-aJPbqo.jpg
#273
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/273" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/273" ); 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/273"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/273"
)
file = res.json() Response
{
"id": 273,
"ownerUserId": 54,
"name": "photo-aJPbqo.jpg",
"mimeType": "image/jpeg",
"sizeBytes": 41364758,
"url": "https://files.example.com/objects/273/photo-aJPbqo.jpg",
"parentFolderId": 84,
"isFolder": false,
"createdAt": "2025-12-20T18:22:00.310Z",
"updatedAt": "2026-04-09T20:48:31.644Z"
}