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