image-l0PkfF.png
- ownerUserId
-
Jamaal Rolfson @jamaal_rolfson
- name
- image-l0PkfF.png
- mimeType
- image/png
- sizeBytes
- 43801044
- url
- https://files.example.com/objects/267/image-l0PkfF.png
- parentFolderId
- files/47
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #267
image-l0PkfF.png
#267
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/267" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/267" ); 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/267"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/267"
)
file = res.json() Response
{
"id": 267,
"ownerUserId": 207,
"name": "image-l0PkfF.png",
"mimeType": "image/png",
"sizeBytes": 43801044,
"url": "https://files.example.com/objects/267/image-l0PkfF.png",
"parentFolderId": 47,
"isFolder": false,
"createdAt": "2024-08-20T19:20:54.460Z",
"updatedAt": "2025-12-25T17:47:32.322Z"
}