Story #78
· 8/3/2025
stories / #78
Story #78
8/3/2025
curl -sS \
"https://example-data.com/api/v1/stories/78" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stories/78"
);
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/78"
);
const storie = (await res.json()) as Storie;import requests
res = requests.get(
"https://example-data.com/api/v1/stories/78"
)
storie = res.json() {
"id": 78,
"userId": 100,
"mediaUrl": "https://picsum.photos/seed/story-78/600/600",
"mediaType": "image",
"caption": "",
"viewCount": 4088,
"expiresAt": "2025-08-04T14:56:16.888Z",
"createdAt": "2025-08-03T14:56:16.888Z"
}