files / #222
- ownerUserId
- 189
- name
- document-FVvq9Z.docx
- mimeType
- application/msword
- sizeBytes
- 48880433
- url
- https://files.example.com/objects/222/document-FVvq9Z.docx
- parentFolderId
- 90
- isFolder
- false
- createdAt
- updatedAt
Component variants
Medium
document-FVvq9Z.docx
#222
Small
files/222 curl -sS \
"https://example-data.com/api/v1/files/222" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/files/222"
);
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/222"
);
const file = (await res.json()) as File;import requests
res = requests.get(
"https://example-data.com/api/v1/files/222"
)
file = res.json() {
"id": 222,
"ownerUserId": 189,
"name": "document-FVvq9Z.docx",
"mimeType": "application/msword",
"sizeBytes": 48880433,
"url": "https://files.example.com/objects/222/document-FVvq9Z.docx",
"parentFolderId": 90,
"isFolder": false,
"createdAt": "2025-03-01T09:11:39.870Z",
"updatedAt": "2025-03-19T15:44:03.953Z"
}