Story #128
· 12/5/2025
stories / #128
Story #128
12/5/2025
curl -sS \
"https://example-data.com/api/v1/stories/128" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stories/128"
);
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/128"
);
const storie = (await res.json()) as Storie;import requests
res = requests.get(
"https://example-data.com/api/v1/stories/128"
)
storie = res.json() {
"id": 128,
"userId": 241,
"mediaUrl": "https://picsum.photos/seed/story-128/800/1200",
"mediaType": "image",
"caption": "",
"viewCount": 4662,
"expiresAt": "2025-12-06T12:42:55.192Z",
"createdAt": "2025-12-05T12:42:55.192Z"
}