example-data.com

files / #214

ownerUserId
250
name
audio-jWqTZU.mp3
mimeType
audio/mpeg
sizeBytes
33071321
url
https://files.example.com/objects/214/audio-jWqTZU.mp3
parentFolderId
70
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/214"
)
file = res.json()
{
  "id": 214,
  "ownerUserId": 250,
  "name": "audio-jWqTZU.mp3",
  "mimeType": "audio/mpeg",
  "sizeBytes": 33071321,
  "url": "https://files.example.com/objects/214/audio-jWqTZU.mp3",
  "parentFolderId": 70,
  "isFolder": false,
  "createdAt": "2025-05-16T22:43:17.887Z",
  "updatedAt": "2026-01-05T16:30:16.777Z"
}
Draftbit