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