example-data.com

stories / #21

Story #21

Story #21

· 6/26/2025

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/stories/21"
)
storie = res.json()
{
  "id": 21,
  "userId": 183,
  "mediaUrl": "https://picsum.photos/seed/story-21/400/600",
  "mediaType": "image",
  "caption": "",
  "viewCount": 2269,
  "expiresAt": "2025-06-27T20:42:21.011Z",
  "createdAt": "2025-06-26T20:42:21.011Z"
}
Draftbit