example-data.com

files / #192

ownerUserId
173
name
archive-ncFwj4.zip
mimeType
application/zip
sizeBytes
39392041
url
https://files.example.com/objects/192/archive-ncFwj4.zip
parentFolderId
53
isFolder
false
createdAt
updatedAt

Component variants

curl -sS \
  "https://example-data.com/api/v1/files/192" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/files/192"
);
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/192"
);
const file = (await res.json()) as File;
import requests

res = requests.get(
    "https://example-data.com/api/v1/files/192"
)
file = res.json()
{
  "id": 192,
  "ownerUserId": 173,
  "name": "archive-ncFwj4.zip",
  "mimeType": "application/zip",
  "sizeBytes": 39392041,
  "url": "https://files.example.com/objects/192/archive-ncFwj4.zip",
  "parentFolderId": 53,
  "isFolder": false,
  "createdAt": "2024-11-07T06:55:57.838Z",
  "updatedAt": "2025-03-13T17:11:56.949Z"
}
Draftbit