image-7B5ejU.png
- ownerUserId
-
Audreanne Will @audreanne_will
- name
- image-7B5ejU.png
- mimeType
- image/png
- sizeBytes
- 18107393
- url
- https://files.example.com/objects/556/image-7B5ejU.png
- parentFolderId
- files/4
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #556
image-7B5ejU.png
#556
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/556" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/556" ); 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/556"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/556"
)
file = res.json() Response
{
"id": 556,
"ownerUserId": 127,
"name": "image-7B5ejU.png",
"mimeType": "image/png",
"sizeBytes": 18107393,
"url": "https://files.example.com/objects/556/image-7B5ejU.png",
"parentFolderId": 4,
"isFolder": false,
"createdAt": "2026-02-02T01:31:41.769Z",
"updatedAt": "2026-04-18T23:19:12.300Z"
}