example-data.com

files / #178

ownerUserId
90
name
photo-WwGBMW.jpg
mimeType
image/jpeg
sizeBytes
39909650
url
https://files.example.com/objects/178/photo-WwGBMW.jpg
parentFolderId
66
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/178"
)
file = res.json()
{
  "id": 178,
  "ownerUserId": 90,
  "name": "photo-WwGBMW.jpg",
  "mimeType": "image/jpeg",
  "sizeBytes": 39909650,
  "url": "https://files.example.com/objects/178/photo-WwGBMW.jpg",
  "parentFolderId": 66,
  "isFolder": false,
  "createdAt": "2024-10-07T15:00:35.836Z",
  "updatedAt": "2025-10-30T05:22:49.346Z"
}
Draftbit