photo-IDCJQ1.jpg
- ownerUserId
-
Tabitha McKenzie @tabitha_mckenzie
- name
- photo-IDCJQ1.jpg
- mimeType
- image/jpeg
- sizeBytes
- 27430335
- url
- https://files.example.com/objects/431/photo-IDCJQ1.jpg
- parentFolderId
- —
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #431
photo-IDCJQ1.jpg
#431
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/431" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/431" ); 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/431"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/431"
)
file = res.json() Response
{
"id": 431,
"ownerUserId": 98,
"name": "photo-IDCJQ1.jpg",
"mimeType": "image/jpeg",
"sizeBytes": 27430335,
"url": "https://files.example.com/objects/431/photo-IDCJQ1.jpg",
"parentFolderId": null,
"isFolder": false,
"createdAt": "2025-11-01T02:02:45.840Z",
"updatedAt": "2026-02-05T22:14:35.137Z"
}