photo-X0Jvhg.jpg
- ownerUserId
-
Era Mitchell @era.mitchell21
- name
- photo-X0Jvhg.jpg
- mimeType
- image/jpeg
- sizeBytes
- 11221685
- url
- https://files.example.com/objects/204/photo-X0Jvhg.jpg
- parentFolderId
- files/103
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #204
photo-X0Jvhg.jpg
#204
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/204" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/204" ); 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/204"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/204"
)
file = res.json() Response
{
"id": 204,
"ownerUserId": 243,
"name": "photo-X0Jvhg.jpg",
"mimeType": "image/jpeg",
"sizeBytes": 11221685,
"url": "https://files.example.com/objects/204/photo-X0Jvhg.jpg",
"parentFolderId": 103,
"isFolder": false,
"createdAt": "2025-12-24T07:34:35.719Z",
"updatedAt": "2026-04-04T06:36:47.512Z"
}