example-data.com

files / #200

ownerUserId
86
name
archive-BrGFpn.zip
mimeType
application/zip
sizeBytes
12042701
url
https://files.example.com/objects/200/archive-BrGFpn.zip
parentFolderId
31
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/200"
)
file = res.json()
{
  "id": 200,
  "ownerUserId": 86,
  "name": "archive-BrGFpn.zip",
  "mimeType": "application/zip",
  "sizeBytes": 12042701,
  "url": "https://files.example.com/objects/200/archive-BrGFpn.zip",
  "parentFolderId": 31,
  "isFolder": false,
  "createdAt": "2025-10-10T12:45:48.764Z",
  "updatedAt": "2025-12-01T08:23:57.431Z"
}
Draftbit