example-data.com

files / #166

ownerUserId
61
name
report-mYEbzw.pdf
mimeType
application/pdf
sizeBytes
28580356
url
https://files.example.com/objects/166/report-mYEbzw.pdf
parentFolderId
44
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/166"
)
file = res.json()
{
  "id": 166,
  "ownerUserId": 61,
  "name": "report-mYEbzw.pdf",
  "mimeType": "application/pdf",
  "sizeBytes": 28580356,
  "url": "https://files.example.com/objects/166/report-mYEbzw.pdf",
  "parentFolderId": 44,
  "isFolder": false,
  "createdAt": "2025-03-07T06:42:46.367Z",
  "updatedAt": "2026-03-01T03:49:53.832Z"
}
Draftbit