image-K1XGhC.png
- ownerUserId
-
Gudrun Brakus @gudrun_brakus
- name
- image-K1XGhC.png
- mimeType
- image/png
- sizeBytes
- 24080830
- url
- https://files.example.com/objects/321/image-K1XGhC.png
- parentFolderId
- —
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #321
image-K1XGhC.png
#321
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/321" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/321" ); 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/321"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/321"
)
file = res.json() Response
{
"id": 321,
"ownerUserId": 230,
"name": "image-K1XGhC.png",
"mimeType": "image/png",
"sizeBytes": 24080830,
"url": "https://files.example.com/objects/321/image-K1XGhC.png",
"parentFolderId": null,
"isFolder": false,
"createdAt": "2024-06-21T19:09:37.127Z",
"updatedAt": "2025-08-12T22:02:18.890Z"
}