example-data.com

stories / #111

Story #111

Story #111

· 8/6/2025

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/stories/111"
)
storie = res.json()
{
  "id": 111,
  "userId": 11,
  "mediaUrl": "https://picsum.photos/seed/story-111/400/600",
  "mediaType": "image",
  "caption": "",
  "viewCount": 2304,
  "expiresAt": "2025-08-07T02:44:04.609Z",
  "createdAt": "2025-08-06T02:44:04.609Z"
}
Draftbit