video-FA32hU.mp4
- ownerUserId
-
Stephan Heller @stephan.heller
- name
- video-FA32hU.mp4
- mimeType
- video/mp4
- sizeBytes
- 37229575
- url
- https://files.example.com/objects/595/video-FA32hU.mp4
- parentFolderId
- files/111
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #595
video-FA32hU.mp4
#595
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/595" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/595" ); 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/595"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/595"
)
file = res.json() Response
{
"id": 595,
"ownerUserId": 82,
"name": "video-FA32hU.mp4",
"mimeType": "video/mp4",
"sizeBytes": 37229575,
"url": "https://files.example.com/objects/595/video-FA32hU.mp4",
"parentFolderId": 111,
"isFolder": false,
"createdAt": "2024-11-11T15:42:45.260Z",
"updatedAt": "2025-09-01T13:55:04.980Z"
}