Story #51
· 10/12/2025
stories / #51
Story #51
10/12/2025
curl -sS \
"https://example-data.com/api/v1/stories/51" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stories/51"
);
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/51"
);
const storie = (await res.json()) as Storie;import requests
res = requests.get(
"https://example-data.com/api/v1/stories/51"
)
storie = res.json() {
"id": 51,
"userId": 71,
"mediaUrl": "https://picsum.photos/seed/story-51/400/1200",
"mediaType": "image",
"caption": "",
"viewCount": 1746,
"expiresAt": "2025-10-13T12:39:24.858Z",
"createdAt": "2025-10-12T12:39:24.858Z"
}