Story #142
· 2/4/2026
stories / #142
Story #142
2/4/2026
curl -sS \
"https://example-data.com/api/v1/stories/142" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stories/142"
);
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/142"
);
const storie = (await res.json()) as Storie;import requests
res = requests.get(
"https://example-data.com/api/v1/stories/142"
)
storie = res.json() {
"id": 142,
"userId": 10,
"mediaUrl": "https://picsum.photos/seed/story-142/600/800",
"mediaType": "image",
"caption": "",
"viewCount": 1356,
"expiresAt": "2026-02-05T23:30:35.147Z",
"createdAt": "2026-02-04T23:30:35.147Z"
}