photo-WwGBMW.jpg
- ownerUserId
-
Myrl Pollich @myrl.pollich
- name
- photo-WwGBMW.jpg
- mimeType
- image/jpeg
- sizeBytes
- 39909650
- url
- https://files.example.com/objects/178/photo-WwGBMW.jpg
- parentFolderId
- files/66
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #178
photo-WwGBMW.jpg
#178
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/178" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/178" ); const file = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/files.d.ts https://example-data.com/types/files.d.ts
import type { File } from "./types/files";
const res = await fetch(
"https://example-data.com/api/v1/files/178"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/178"
)
file = res.json() Response
{
"id": 178,
"ownerUserId": 90,
"name": "photo-WwGBMW.jpg",
"mimeType": "image/jpeg",
"sizeBytes": 39909650,
"url": "https://files.example.com/objects/178/photo-WwGBMW.jpg",
"parentFolderId": 66,
"isFolder": false,
"createdAt": "2024-10-07T15:00:35.836Z",
"updatedAt": "2025-10-30T05:22:49.346Z"
}