archive-WCbVpC.zip
- ownerUserId
-
Cyril Frami @cyril_frami88
- name
- archive-WCbVpC.zip
- mimeType
- application/zip
- sizeBytes
- 48116518
- url
- https://files.example.com/objects/515/archive-WCbVpC.zip
- parentFolderId
- —
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #515
archive-WCbVpC.zip
#515
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/515" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/515" ); 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/515"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/515"
)
file = res.json() Response
{
"id": 515,
"ownerUserId": 182,
"name": "archive-WCbVpC.zip",
"mimeType": "application/zip",
"sizeBytes": 48116518,
"url": "https://files.example.com/objects/515/archive-WCbVpC.zip",
"parentFolderId": null,
"isFolder": false,
"createdAt": "2024-10-10T02:51:47.634Z",
"updatedAt": "2025-11-11T19:08:31.598Z"
}