image-2EFfRp.png
- ownerUserId
-
Ken Towne @ken.towne
- name
- image-2EFfRp.png
- mimeType
- image/png
- sizeBytes
- 47439716
- url
- https://files.example.com/objects/590/image-2EFfRp.png
- parentFolderId
- files/101
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #590
image-2EFfRp.png
#590
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/590" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/590" ); 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/590"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/590"
)
file = res.json() Response
{
"id": 590,
"ownerUserId": 248,
"name": "image-2EFfRp.png",
"mimeType": "image/png",
"sizeBytes": 47439716,
"url": "https://files.example.com/objects/590/image-2EFfRp.png",
"parentFolderId": 101,
"isFolder": false,
"createdAt": "2025-06-11T17:40:36.987Z",
"updatedAt": "2026-04-12T12:43:58.596Z"
}