example-data.com

files / #208

ownerUserId
190
name
config-n38UK1.json
mimeType
application/json
sizeBytes
14234865
url
https://files.example.com/objects/208/config-n38UK1.json
parentFolderId
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/208"
)
file = res.json()
{
  "id": 208,
  "ownerUserId": 190,
  "name": "config-n38UK1.json",
  "mimeType": "application/json",
  "sizeBytes": 14234865,
  "url": "https://files.example.com/objects/208/config-n38UK1.json",
  "parentFolderId": null,
  "isFolder": false,
  "createdAt": "2024-10-31T04:57:32.360Z",
  "updatedAt": "2026-05-03T17:42:00.359Z"
}
Draftbit