files / #228
- ownerUserId
- 157
- name
- script-5iPLKC.txt
- mimeType
- text/plain
- sizeBytes
- 35661487
- url
- https://files.example.com/objects/228/script-5iPLKC.txt
- parentFolderId
- 16
- isFolder
- false
- createdAt
- updatedAt
Component variants
Medium
script-5iPLKC.txt
#228
Small
files/228 curl -sS \
"https://example-data.com/api/v1/files/228" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/files/228"
);
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/228"
);
const file = (await res.json()) as File;import requests
res = requests.get(
"https://example-data.com/api/v1/files/228"
)
file = res.json() {
"id": 228,
"ownerUserId": 157,
"name": "script-5iPLKC.txt",
"mimeType": "text/plain",
"sizeBytes": 35661487,
"url": "https://files.example.com/objects/228/script-5iPLKC.txt",
"parentFolderId": 16,
"isFolder": false,
"createdAt": "2025-05-02T09:12:12.236Z",
"updatedAt": "2026-02-05T20:24:44.265Z"
}