Story #98
· 5/22/2025
stories / #98
Story #98
5/22/2025
curl -sS \
"https://example-data.com/api/v1/stories/98" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stories/98"
);
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/98"
);
const storie = (await res.json()) as Storie;import requests
res = requests.get(
"https://example-data.com/api/v1/stories/98"
)
storie = res.json() {
"id": 98,
"userId": 30,
"mediaUrl": "https://picsum.photos/seed/story-98/600/1200",
"mediaType": "image",
"caption": "",
"viewCount": 3687,
"expiresAt": "2025-05-23T08:20:47.778Z",
"createdAt": "2025-05-22T08:20:47.778Z"
}