example-data.com

files / #197

ownerUserId
31
name
spreadsheet-PvuWXR.xlsx
mimeType
application/vnd.ms-excel
sizeBytes
33699186
url
https://files.example.com/objects/197/spreadsheet-PvuWXR.xlsx
parentFolderId
30
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/197"
)
file = res.json()
{
  "id": 197,
  "ownerUserId": 31,
  "name": "spreadsheet-PvuWXR.xlsx",
  "mimeType": "application/vnd.ms-excel",
  "sizeBytes": 33699186,
  "url": "https://files.example.com/objects/197/spreadsheet-PvuWXR.xlsx",
  "parentFolderId": 30,
  "isFolder": false,
  "createdAt": "2025-06-08T21:50:25.282Z",
  "updatedAt": "2025-08-23T20:06:59.096Z"
}
Draftbit