Activity #158
User #100 commented product #1
7/5/2025, 3:02:11 AM
Overview
activities / #158
User #100 commented product #1
7/5/2025, 3:02:11 AM
User #100 commented product #1
7/5/2025, 3:02:11 AM
View recordUser #100 commented product #1 · 7/5/2025, 3:02:11 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/158" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/158" ); const activity = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/activities.d.ts https://example-data.com/types/activities.d.ts
import type { Activity } from "./types/activities";
const res = await fetch(
"https://example-data.com/api/v1/activities/158"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/158"
)
activitie = res.json() Response
{
"id": 158,
"userId": 100,
"verb": "commented",
"targetType": "product",
"targetId": 1,
"createdAt": "2025-07-05T03:02:11.868Z"
}