example-data.com

files / #234

ownerUserId
155
name
audio-yg4DiH.mp3
mimeType
audio/mpeg
sizeBytes
11240346
url
https://files.example.com/objects/234/audio-yg4DiH.mp3
parentFolderId
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/234"
)
file = res.json()
{
  "id": 234,
  "ownerUserId": 155,
  "name": "audio-yg4DiH.mp3",
  "mimeType": "audio/mpeg",
  "sizeBytes": 11240346,
  "url": "https://files.example.com/objects/234/audio-yg4DiH.mp3",
  "parentFolderId": null,
  "isFolder": false,
  "createdAt": "2025-08-25T01:39:51.010Z",
  "updatedAt": "2026-01-22T22:00:44.544Z"
}
Draftbit