example-data.com

files / #220

ownerUserId
76
name
archive-lEDjlK.zip
mimeType
application/zip
sizeBytes
34362831
url
https://files.example.com/objects/220/archive-lEDjlK.zip
parentFolderId
30
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/220"
)
file = res.json()
{
  "id": 220,
  "ownerUserId": 76,
  "name": "archive-lEDjlK.zip",
  "mimeType": "application/zip",
  "sizeBytes": 34362831,
  "url": "https://files.example.com/objects/220/archive-lEDjlK.zip",
  "parentFolderId": 30,
  "isFolder": false,
  "createdAt": "2024-12-27T21:58:09.536Z",
  "updatedAt": "2026-03-26T02:41:11.047Z"
}
Draftbit