example-data.com

files / #157

ownerUserId
236
name
image-QSaLUu.png
mimeType
image/png
sizeBytes
6844414
url
https://files.example.com/objects/157/image-QSaLUu.png
parentFolderId
116
isFolder
false
createdAt
updatedAt

Component variants

curl -sS \
  "https://example-data.com/api/v1/files/157" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/files/157"
);
const file = await res.json();
import type { File } from "https://example-data.com/types/files.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/files/157"
);
const file = (await res.json()) as File;
import requests

res = requests.get(
    "https://example-data.com/api/v1/files/157"
)
file = res.json()
{
  "id": 157,
  "ownerUserId": 236,
  "name": "image-QSaLUu.png",
  "mimeType": "image/png",
  "sizeBytes": 6844414,
  "url": "https://files.example.com/objects/157/image-QSaLUu.png",
  "parentFolderId": 116,
  "isFolder": false,
  "createdAt": "2026-02-10T15:58:42.511Z",
  "updatedAt": "2026-04-19T19:52:49.933Z"
}
Draftbit