example-data.com

stories / #137

Story #137

Story #137

· 8/4/2025

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/stories/137"
)
storie = res.json()
{
  "id": 137,
  "userId": 93,
  "mediaUrl": "https://picsum.photos/seed/story-137/800/1200",
  "mediaType": "image",
  "caption": "",
  "viewCount": 3050,
  "expiresAt": "2025-08-05T14:25:37.379Z",
  "createdAt": "2025-08-04T14:25:37.379Z"
}
Draftbit