example-data.com

files / #164

ownerUserId
227
name
presentation-WVl83x.pptx
mimeType
application/vnd.ms-powerpoint
sizeBytes
16070381
url
https://files.example.com/objects/164/presentation-WVl83x.pptx
parentFolderId
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/164"
)
file = res.json()
{
  "id": 164,
  "ownerUserId": 227,
  "name": "presentation-WVl83x.pptx",
  "mimeType": "application/vnd.ms-powerpoint",
  "sizeBytes": 16070381,
  "url": "https://files.example.com/objects/164/presentation-WVl83x.pptx",
  "parentFolderId": null,
  "isFolder": false,
  "createdAt": "2026-04-05T05:35:07.791Z",
  "updatedAt": "2026-05-17T00:57:26.735Z"
}
Draftbit