files / #199
- ownerUserId
- 228
- name
- presentation-7DFTCs.pptx
- mimeType
- application/vnd.ms-powerpoint
- sizeBytes
- 33746655
- url
- https://files.example.com/objects/199/presentation-7DFTCs.pptx
- parentFolderId
- 140
- isFolder
- false
- createdAt
- updatedAt
Component variants
Small
files/199 curl -sS \
"https://example-data.com/api/v1/files/199" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/files/199"
);
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/199"
);
const file = (await res.json()) as File;import requests
res = requests.get(
"https://example-data.com/api/v1/files/199"
)
file = res.json() {
"id": 199,
"ownerUserId": 228,
"name": "presentation-7DFTCs.pptx",
"mimeType": "application/vnd.ms-powerpoint",
"sizeBytes": 33746655,
"url": "https://files.example.com/objects/199/presentation-7DFTCs.pptx",
"parentFolderId": 140,
"isFolder": false,
"createdAt": "2024-05-24T20:59:23.644Z",
"updatedAt": "2024-07-04T23:20:26.113Z"
}