example-data.com

files / #101

ownerUserId
128
name
Media
mimeType
application/x-directory
sizeBytes
0
url
https://files.example.com/folders/101
parentFolderId
75
isFolder
true
createdAt
updatedAt

Component variants

curl -sS \
  "https://example-data.com/api/v1/files/101" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/files/101"
);
const file = await res.json();
import type { File } from "https://example-data.com/types/files.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/files/101"
);
const file = (await res.json()) as File;
import requests

res = requests.get(
    "https://example-data.com/api/v1/files/101"
)
file = res.json()
{
  "id": 101,
  "ownerUserId": 128,
  "name": "Media",
  "mimeType": "application/x-directory",
  "sizeBytes": 0,
  "url": "https://files.example.com/folders/101",
  "parentFolderId": 75,
  "isFolder": true,
  "createdAt": "2024-10-27T12:14:50.422Z",
  "updatedAt": "2025-09-24T19:40:01.618Z"
}
Draftbit