Story #37
· 6/14/2025
stories / #37
Story #37
6/14/2025
curl -sS \
"https://example-data.com/api/v1/stories/37" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stories/37"
);
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/37"
);
const storie = (await res.json()) as Storie;import requests
res = requests.get(
"https://example-data.com/api/v1/stories/37"
)
storie = res.json() {
"id": 37,
"userId": 107,
"mediaUrl": "https://picsum.photos/seed/story-37/800/1200",
"mediaType": "image",
"caption": "",
"viewCount": 2213,
"expiresAt": "2025-06-15T20:11:14.569Z",
"createdAt": "2025-06-14T20:11:14.569Z"
}