script-IyYzsU.txt
- ownerUserId
-
Leora Doyle @leora_doyle
- name
- script-IyYzsU.txt
- mimeType
- text/plain
- sizeBytes
- 19092755
- url
- https://files.example.com/objects/396/script-IyYzsU.txt
- parentFolderId
- —
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #396
script-IyYzsU.txt
#396
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/396" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/396" ); 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/396"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/396"
)
file = res.json() Response
{
"id": 396,
"ownerUserId": 117,
"name": "script-IyYzsU.txt",
"mimeType": "text/plain",
"sizeBytes": 19092755,
"url": "https://files.example.com/objects/396/script-IyYzsU.txt",
"parentFolderId": null,
"isFolder": false,
"createdAt": "2025-07-05T03:55:36.352Z",
"updatedAt": "2026-05-02T16:37:23.239Z"
}