Story #224
· 7/7/2025
stories / #224
Story #224
7/7/2025
curl -sS \
"https://example-data.com/api/v1/stories/224" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stories/224"
);
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/224"
);
const storie = (await res.json()) as Storie;import requests
res = requests.get(
"https://example-data.com/api/v1/stories/224"
)
storie = res.json() {
"id": 224,
"userId": 189,
"mediaUrl": "https://picsum.photos/seed/story-224/800/1200",
"mediaType": "image",
"caption": "",
"viewCount": 2669,
"expiresAt": "2025-07-08T16:59:34.405Z",
"createdAt": "2025-07-07T16:59:34.405Z"
}