audio-TiMzqX.mp3
- ownerUserId
-
Orrin Grant @orrin.grant42
- name
- audio-TiMzqX.mp3
- mimeType
- audio/mpeg
- sizeBytes
- 39719004
- url
- https://files.example.com/objects/438/audio-TiMzqX.mp3
- parentFolderId
- —
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #438
audio-TiMzqX.mp3
#438
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/438" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/438" ); 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/438"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/438"
)
file = res.json() Response
{
"id": 438,
"ownerUserId": 152,
"name": "audio-TiMzqX.mp3",
"mimeType": "audio/mpeg",
"sizeBytes": 39719004,
"url": "https://files.example.com/objects/438/audio-TiMzqX.mp3",
"parentFolderId": null,
"isFolder": false,
"createdAt": "2024-09-15T08:35:48.753Z",
"updatedAt": "2026-03-12T01:25:15.722Z"
}