example-data.com

files / #211

ownerUserId
24
name
audio-d6mhku.mp3
mimeType
audio/mpeg
sizeBytes
41545697
url
https://files.example.com/objects/211/audio-d6mhku.mp3
parentFolderId
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/211"
)
file = res.json()
{
  "id": 211,
  "ownerUserId": 24,
  "name": "audio-d6mhku.mp3",
  "mimeType": "audio/mpeg",
  "sizeBytes": 41545697,
  "url": "https://files.example.com/objects/211/audio-d6mhku.mp3",
  "parentFolderId": null,
  "isFolder": false,
  "createdAt": "2025-04-10T12:08:32.658Z",
  "updatedAt": "2025-06-23T18:50:07.503Z"
}
Draftbit