image-tye6PT.png
- ownerUserId
-
Monte Botsford @monte_botsford
- name
- image-tye6PT.png
- mimeType
- image/png
- sizeBytes
- 35465471
- url
- https://files.example.com/objects/240/image-tye6PT.png
- parentFolderId
- files/13
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #240
image-tye6PT.png
#240
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/240" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/240" ); 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/240"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/240"
)
file = res.json() Response
{
"id": 240,
"ownerUserId": 220,
"name": "image-tye6PT.png",
"mimeType": "image/png",
"sizeBytes": 35465471,
"url": "https://files.example.com/objects/240/image-tye6PT.png",
"parentFolderId": 13,
"isFolder": false,
"createdAt": "2025-04-02T04:01:12.969Z",
"updatedAt": "2026-03-20T21:12:28.190Z"
}