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