example-data.com

files / #168

ownerUserId
128
name
document-GEgnJO.docx
mimeType
application/msword
sizeBytes
6012245
url
https://files.example.com/objects/168/document-GEgnJO.docx
parentFolderId
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/168"
)
file = res.json()
{
  "id": 168,
  "ownerUserId": 128,
  "name": "document-GEgnJO.docx",
  "mimeType": "application/msword",
  "sizeBytes": 6012245,
  "url": "https://files.example.com/objects/168/document-GEgnJO.docx",
  "parentFolderId": null,
  "isFolder": false,
  "createdAt": "2026-03-25T20:16:04.582Z",
  "updatedAt": "2026-04-17T06:06:05.805Z"
}
Draftbit