Story #99
· 7/10/2025
stories / #99
Story #99
7/10/2025
curl -sS \
"https://example-data.com/api/v1/stories/99" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stories/99"
);
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/99"
);
const storie = (await res.json()) as Storie;import requests
res = requests.get(
"https://example-data.com/api/v1/stories/99"
)
storie = res.json() {
"id": 99,
"userId": 196,
"mediaUrl": "https://picsum.photos/seed/story-99/800/600",
"mediaType": "image",
"caption": "",
"viewCount": 1281,
"expiresAt": "2025-07-11T12:07:13.392Z",
"createdAt": "2025-07-10T12:07:13.392Z"
}