example-data.com

files / #232

ownerUserId
94
name
script-unA7V5.txt
mimeType
text/plain
sizeBytes
20310285
url
https://files.example.com/objects/232/script-unA7V5.txt
parentFolderId
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/232"
)
file = res.json()
{
  "id": 232,
  "ownerUserId": 94,
  "name": "script-unA7V5.txt",
  "mimeType": "text/plain",
  "sizeBytes": 20310285,
  "url": "https://files.example.com/objects/232/script-unA7V5.txt",
  "parentFolderId": null,
  "isFolder": false,
  "createdAt": "2026-03-06T20:19:03.001Z",
  "updatedAt": "2026-05-18T01:44:41.808Z"
}
Draftbit