photo-diPy22.jpg
- ownerUserId
-
Malvina Ortiz @malvina_ortiz
- name
- photo-diPy22.jpg
- mimeType
- image/jpeg
- sizeBytes
- 10735193
- url
- https://files.example.com/objects/547/photo-diPy22.jpg
- parentFolderId
- —
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #547
photo-diPy22.jpg
#547
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/547" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/547" ); 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/547"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/547"
)
file = res.json() Response
{
"id": 547,
"ownerUserId": 234,
"name": "photo-diPy22.jpg",
"mimeType": "image/jpeg",
"sizeBytes": 10735193,
"url": "https://files.example.com/objects/547/photo-diPy22.jpg",
"parentFolderId": null,
"isFolder": false,
"createdAt": "2026-02-09T02:53:45.073Z",
"updatedAt": "2026-04-21T19:07:06.317Z"
}