report-MoO7Va.pdf
- ownerUserId
-
Vidal Parker @vidal_parker12
- name
- report-MoO7Va.pdf
- mimeType
- application/pdf
- sizeBytes
- 1692566
- url
- https://files.example.com/objects/381/report-MoO7Va.pdf
- parentFolderId
- —
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #381
report-MoO7Va.pdf
#381
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/381" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/381" ); 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/381"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/381"
)
file = res.json() Response
{
"id": 381,
"ownerUserId": 203,
"name": "report-MoO7Va.pdf",
"mimeType": "application/pdf",
"sizeBytes": 1692566,
"url": "https://files.example.com/objects/381/report-MoO7Va.pdf",
"parentFolderId": null,
"isFolder": false,
"createdAt": "2025-03-01T17:24:04.556Z",
"updatedAt": "2026-01-10T06:27:29.127Z"
}