Activity #2189
User #198 commented product #10
5/31/2025, 5:21:24 PM
Overview
activities / #2189
User #198 commented product #10
5/31/2025, 5:21:24 PM
User #198 commented product #10
5/31/2025, 5:21:24 PM
View recordUser #198 commented product #10 · 5/31/2025, 5:21:24 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/2189" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/2189" ); 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/2189"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/2189"
)
activitie = res.json() Response
{
"id": 2189,
"userId": 198,
"verb": "commented",
"targetType": "product",
"targetId": 10,
"createdAt": "2025-05-31T17:21:24.971Z"
}