Archive
- ownerUserId
-
Antoinette Greenfelder @antoinette_greenfelder61
- name
- Archive
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/149
- parentFolderId
- —
- isFolder
- true
- createdAt
- updatedAt
Overview
files / #149
Archive
#149
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/149" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/149" ); 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/149"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/149"
)
file = res.json() Response
{
"id": 149,
"ownerUserId": 22,
"name": "Archive",
"mimeType": "application/x-directory",
"sizeBytes": 0,
"url": "https://files.example.com/folders/149",
"parentFolderId": null,
"isFolder": true,
"createdAt": "2026-01-29T18:27:00.090Z",
"updatedAt": "2026-03-26T02:28:01.388Z"
}