audio-tj34Of.mp3
- ownerUserId
-
Daren Lockman @daren_lockman67
- name
- audio-tj34Of.mp3
- mimeType
- audio/mpeg
- sizeBytes
- 36011777
- url
- https://files.example.com/objects/337/audio-tj34Of.mp3
- parentFolderId
- files/23
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #337
audio-tj34Of.mp3
#337
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/337" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/337" ); 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/337"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/337"
)
file = res.json() Response
{
"id": 337,
"ownerUserId": 116,
"name": "audio-tj34Of.mp3",
"mimeType": "audio/mpeg",
"sizeBytes": 36011777,
"url": "https://files.example.com/objects/337/audio-tj34Of.mp3",
"parentFolderId": 23,
"isFolder": false,
"createdAt": "2024-07-11T13:48:56.041Z",
"updatedAt": "2025-03-09T18:22:25.250Z"
}