Data
- ownerUserId
-
Jaylon Conroy @jaylon_conroy22
- name
- Data
- mimeType
- application/x-directory
- sizeBytes
- 0
- url
- https://files.example.com/folders/35
- parentFolderId
- files/15
- isFolder
- true
- createdAt
- updatedAt
Overview
files / #35
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files/35" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/files/35" ); 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/35"
);
const file = (await res.json()) as File; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files/35"
)
file = res.json() Response
{
"id": 35,
"ownerUserId": 205,
"name": "Data",
"mimeType": "application/x-directory",
"sizeBytes": 0,
"url": "https://files.example.com/folders/35",
"parentFolderId": 15,
"isFolder": true,
"createdAt": "2024-10-07T14:15:37.556Z",
"updatedAt": "2025-09-05T22:26:08.005Z"
}