photo-drkZ6t.jpg
- ownerUserId
-
Amina King @amina_king41
- name
- photo-drkZ6t.jpg
- mimeType
- image/jpeg
- sizeBytes
- 21784421
- url
- https://files.example.com/objects/180/photo-drkZ6t.jpg
- parentFolderId
- files/131
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #180
photo-drkZ6t.jpg
#180
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/180" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/180" ); 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/180"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/180"
)
file = res.json() Response
{
"id": 180,
"ownerUserId": 2,
"name": "photo-drkZ6t.jpg",
"mimeType": "image/jpeg",
"sizeBytes": 21784421,
"url": "https://files.example.com/objects/180/photo-drkZ6t.jpg",
"parentFolderId": 131,
"isFolder": false,
"createdAt": "2026-04-21T23:28:28.770Z",
"updatedAt": "2026-05-04T00:22:39.646Z"
}