example-data.com

files / #174

ownerUserId
150
name
config-wJweWz.json
mimeType
application/json
sizeBytes
36879905
url
https://files.example.com/objects/174/config-wJweWz.json
parentFolderId
128
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/174"
)
file = res.json()
{
  "id": 174,
  "ownerUserId": 150,
  "name": "config-wJweWz.json",
  "mimeType": "application/json",
  "sizeBytes": 36879905,
  "url": "https://files.example.com/objects/174/config-wJweWz.json",
  "parentFolderId": 128,
  "isFolder": false,
  "createdAt": "2025-03-05T14:28:33.098Z",
  "updatedAt": "2025-09-03T02:07:49.133Z"
}
Draftbit