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