Story #180
· 6/17/2025
stories / #180
Story #180
6/17/2025
curl -sS \
"https://example-data.com/api/v1/stories/180" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stories/180"
);
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/180"
);
const storie = (await res.json()) as Storie;import requests
res = requests.get(
"https://example-data.com/api/v1/stories/180"
)
storie = res.json() {
"id": 180,
"userId": 222,
"mediaUrl": "https://picsum.photos/seed/story-180/600/600",
"mediaType": "image",
"caption": "",
"viewCount": 2442,
"expiresAt": "2025-06-18T08:35:25.387Z",
"createdAt": "2025-06-17T08:35:25.387Z"
}