example-data.com

files / #219

ownerUserId
84
name
archive-Xbz5bv.zip
mimeType
application/zip
sizeBytes
51248747
url
https://files.example.com/objects/219/archive-Xbz5bv.zip
parentFolderId
71
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/219"
)
file = res.json()
{
  "id": 219,
  "ownerUserId": 84,
  "name": "archive-Xbz5bv.zip",
  "mimeType": "application/zip",
  "sizeBytes": 51248747,
  "url": "https://files.example.com/objects/219/archive-Xbz5bv.zip",
  "parentFolderId": 71,
  "isFolder": false,
  "createdAt": "2026-04-23T18:23:44.968Z",
  "updatedAt": "2026-05-07T23:51:10.305Z"
}
Draftbit