example-data.com

files / #238

ownerUserId
175
name
video-GZas0A.mp4
mimeType
video/mp4
sizeBytes
30583669
url
https://files.example.com/objects/238/video-GZas0A.mp4
parentFolderId
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/238"
)
file = res.json()
{
  "id": 238,
  "ownerUserId": 175,
  "name": "video-GZas0A.mp4",
  "mimeType": "video/mp4",
  "sizeBytes": 30583669,
  "url": "https://files.example.com/objects/238/video-GZas0A.mp4",
  "parentFolderId": null,
  "isFolder": false,
  "createdAt": "2026-01-12T05:31:01.445Z",
  "updatedAt": "2026-03-18T05:12:18.893Z"
}
Draftbit