files / #173
- ownerUserId
- 149
- name
- photo-Ob7wox.jpg
- mimeType
- image/jpeg
- sizeBytes
- 51475897
- url
- https://files.example.com/objects/173/photo-Ob7wox.jpg
- parentFolderId
- 71
- isFolder
- false
- createdAt
- updatedAt
Component variants
Medium
photo-Ob7wox.jpg
#173
Small
files/173 curl -sS \
"https://example-data.com/api/v1/files/173" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/files/173"
);
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/173"
);
const file = (await res.json()) as File;import requests
res = requests.get(
"https://example-data.com/api/v1/files/173"
)
file = res.json() {
"id": 173,
"ownerUserId": 149,
"name": "photo-Ob7wox.jpg",
"mimeType": "image/jpeg",
"sizeBytes": 51475897,
"url": "https://files.example.com/objects/173/photo-Ob7wox.jpg",
"parentFolderId": 71,
"isFolder": false,
"createdAt": "2024-09-24T22:17:41.109Z",
"updatedAt": "2024-10-11T01:14:55.606Z"
}