example-data.com

files / #230

ownerUserId
136
name
image-nSdRrk.png
mimeType
image/png
sizeBytes
32395594
url
https://files.example.com/objects/230/image-nSdRrk.png
parentFolderId
isFolder
false
createdAt
updatedAt

Component variants

curl -sS \
  "https://example-data.com/api/v1/files/230" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/files/230"
);
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/230"
);
const file = (await res.json()) as File;
import requests

res = requests.get(
    "https://example-data.com/api/v1/files/230"
)
file = res.json()
{
  "id": 230,
  "ownerUserId": 136,
  "name": "image-nSdRrk.png",
  "mimeType": "image/png",
  "sizeBytes": 32395594,
  "url": "https://files.example.com/objects/230/image-nSdRrk.png",
  "parentFolderId": null,
  "isFolder": false,
  "createdAt": "2025-06-03T18:34:15.651Z",
  "updatedAt": "2026-01-21T21:22:06.352Z"
}
Draftbit