files / #167
- ownerUserId
- 177
- name
- script-JmqdEd.txt
- mimeType
- text/plain
- sizeBytes
- 17814863
- url
- https://files.example.com/objects/167/script-JmqdEd.txt
- parentFolderId
- 35
- isFolder
- false
- createdAt
- updatedAt
Component variants
Medium
script-JmqdEd.txt
#167
Small
files/167 curl -sS \
"https://example-data.com/api/v1/files/167" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/files/167"
);
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/167"
);
const file = (await res.json()) as File;import requests
res = requests.get(
"https://example-data.com/api/v1/files/167"
)
file = res.json() {
"id": 167,
"ownerUserId": 177,
"name": "script-JmqdEd.txt",
"mimeType": "text/plain",
"sizeBytes": 17814863,
"url": "https://files.example.com/objects/167/script-JmqdEd.txt",
"parentFolderId": 35,
"isFolder": false,
"createdAt": "2025-04-13T14:15:42.800Z",
"updatedAt": "2025-11-07T20:05:04.907Z"
}