example-data.com

files / #229

ownerUserId
180
name
spreadsheet-CyfK4Z.xlsx
mimeType
application/vnd.ms-excel
sizeBytes
8156823
url
https://files.example.com/objects/229/spreadsheet-CyfK4Z.xlsx
parentFolderId
124
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/229"
)
file = res.json()
{
  "id": 229,
  "ownerUserId": 180,
  "name": "spreadsheet-CyfK4Z.xlsx",
  "mimeType": "application/vnd.ms-excel",
  "sizeBytes": 8156823,
  "url": "https://files.example.com/objects/229/spreadsheet-CyfK4Z.xlsx",
  "parentFolderId": 124,
  "isFolder": false,
  "createdAt": "2026-05-11T11:05:34.447Z",
  "updatedAt": "2026-05-13T18:53:28.460Z"
}
Draftbit