example-data.com

files / #227

ownerUserId
49
name
video-CZqIjx.mp4
mimeType
video/mp4
sizeBytes
46588306
url
https://files.example.com/objects/227/video-CZqIjx.mp4
parentFolderId
68
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/227"
)
file = res.json()
{
  "id": 227,
  "ownerUserId": 49,
  "name": "video-CZqIjx.mp4",
  "mimeType": "video/mp4",
  "sizeBytes": 46588306,
  "url": "https://files.example.com/objects/227/video-CZqIjx.mp4",
  "parentFolderId": 68,
  "isFolder": false,
  "createdAt": "2024-10-04T13:22:33.888Z",
  "updatedAt": "2025-06-15T07:09:22.926Z"
}
Draftbit