example-data.com

stories / #104

Story #104

Story #104

· 8/28/2025

Component variants

Related

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

const res = await fetch(
  "https://example-data.com/api/v1/stories/104"
);
const storie = (await res.json()) as Storie;
import requests

res = requests.get(
    "https://example-data.com/api/v1/stories/104"
)
storie = res.json()
{
  "id": 104,
  "userId": 20,
  "mediaUrl": "https://picsum.photos/seed/story-104/600/600",
  "mediaType": "image",
  "caption": "",
  "viewCount": 4610,
  "expiresAt": "2025-08-29T14:43:55.970Z",
  "createdAt": "2025-08-28T14:43:55.970Z"
}
Draftbit