audio-PHRk0o.mp3
- ownerUserId
-
Kaleb Schmidt @kaleb.schmidt
- name
- audio-PHRk0o.mp3
- mimeType
- audio/mpeg
- sizeBytes
- 14272806
- url
- https://files.example.com/objects/506/audio-PHRk0o.mp3
- parentFolderId
- —
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #506
audio-PHRk0o.mp3
#506
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/506" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/506" ); 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/506"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/506"
)
file = res.json() Response
{
"id": 506,
"ownerUserId": 171,
"name": "audio-PHRk0o.mp3",
"mimeType": "audio/mpeg",
"sizeBytes": 14272806,
"url": "https://files.example.com/objects/506/audio-PHRk0o.mp3",
"parentFolderId": null,
"isFolder": false,
"createdAt": "2026-05-07T02:13:45.408Z",
"updatedAt": "2026-05-07T21:00:09.236Z"
}