audio-d6mhku.mp3
- ownerUserId
-
Celia D'Amore @celia_damore
- name
- audio-d6mhku.mp3
- mimeType
- audio/mpeg
- sizeBytes
- 41545697
- url
- https://files.example.com/objects/211/audio-d6mhku.mp3
- parentFolderId
- —
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #211
audio-d6mhku.mp3
#211
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/211" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/211" ); 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/211"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/211"
)
file = res.json() Response
{
"id": 211,
"ownerUserId": 24,
"name": "audio-d6mhku.mp3",
"mimeType": "audio/mpeg",
"sizeBytes": 41545697,
"url": "https://files.example.com/objects/211/audio-d6mhku.mp3",
"parentFolderId": null,
"isFolder": false,
"createdAt": "2025-04-10T12:08:32.658Z",
"updatedAt": "2025-06-23T18:50:07.503Z"
}