example-data.com

files / #162

ownerUserId
27
name
script-nB4Jsy.txt
mimeType
text/plain
sizeBytes
14681731
url
https://files.example.com/objects/162/script-nB4Jsy.txt
parentFolderId
149
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/162"
)
file = res.json()
{
  "id": 162,
  "ownerUserId": 27,
  "name": "script-nB4Jsy.txt",
  "mimeType": "text/plain",
  "sizeBytes": 14681731,
  "url": "https://files.example.com/objects/162/script-nB4Jsy.txt",
  "parentFolderId": 149,
  "isFolder": false,
  "createdAt": "2026-05-12T16:07:16.987Z",
  "updatedAt": "2026-05-17T10:56:36.508Z"
}
Draftbit