example-data.com

files / #191

ownerUserId
249
name
script-OeGzdw.txt
mimeType
text/plain
sizeBytes
50410741
url
https://files.example.com/objects/191/script-OeGzdw.txt
parentFolderId
isFolder
false
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/files/191"
)
file = res.json()
{
  "id": 191,
  "ownerUserId": 249,
  "name": "script-OeGzdw.txt",
  "mimeType": "text/plain",
  "sizeBytes": 50410741,
  "url": "https://files.example.com/objects/191/script-OeGzdw.txt",
  "parentFolderId": null,
  "isFolder": false,
  "createdAt": "2025-02-09T10:13:33.401Z",
  "updatedAt": "2025-07-20T09:49:57.426Z"
}
Draftbit