example-data.com

files / #183

ownerUserId
22
name
archive-jGmHd1.zip
mimeType
application/zip
sizeBytes
16358398
url
https://files.example.com/objects/183/archive-jGmHd1.zip
parentFolderId
50
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/183"
)
file = res.json()
{
  "id": 183,
  "ownerUserId": 22,
  "name": "archive-jGmHd1.zip",
  "mimeType": "application/zip",
  "sizeBytes": 16358398,
  "url": "https://files.example.com/objects/183/archive-jGmHd1.zip",
  "parentFolderId": 50,
  "isFolder": false,
  "createdAt": "2025-06-19T13:58:58.106Z",
  "updatedAt": "2026-03-28T11:53:10.176Z"
}
Draftbit