image-tuf4uu.png
- ownerUserId
-
Adan Weber @adan.weber61
- name
- image-tuf4uu.png
- mimeType
- image/png
- sizeBytes
- 2602421
- url
- https://files.example.com/objects/477/image-tuf4uu.png
- parentFolderId
- files/78
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #477
image-tuf4uu.png
#477
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/477" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/477" ); 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/477"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/477"
)
file = res.json() Response
{
"id": 477,
"ownerUserId": 155,
"name": "image-tuf4uu.png",
"mimeType": "image/png",
"sizeBytes": 2602421,
"url": "https://files.example.com/objects/477/image-tuf4uu.png",
"parentFolderId": 78,
"isFolder": false,
"createdAt": "2024-12-04T14:59:57.984Z",
"updatedAt": "2025-07-08T10:08:49.010Z"
}