image-WVRPXe.png
- ownerUserId
-
Aylin Sanford @aylin.sanford
- name
- image-WVRPXe.png
- mimeType
- image/png
- sizeBytes
- 15160826
- url
- https://files.example.com/objects/454/image-WVRPXe.png
- parentFolderId
- files/141
- isFolder
- false
- createdAt
- updatedAt
Overview
files / #454
image-WVRPXe.png
#454
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/454" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/454" ); 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/454"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/454"
)
file = res.json() Response
{
"id": 454,
"ownerUserId": 173,
"name": "image-WVRPXe.png",
"mimeType": "image/png",
"sizeBytes": 15160826,
"url": "https://files.example.com/objects/454/image-WVRPXe.png",
"parentFolderId": 141,
"isFolder": false,
"createdAt": "2026-02-15T08:15:12.441Z",
"updatedAt": "2026-03-08T23:13:42.802Z"
}