Activity #1978
User #152 shared product #25
5/28/2025, 7:04:16 AM
Overview
activities / #1978
User #152 shared product #25
5/28/2025, 7:04:16 AM
User #152 shared product #25
5/28/2025, 7:04:16 AM
View recordUser #152 shared product #25 · 5/28/2025, 7:04:16 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/1978" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/1978" ); 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/1978"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/1978"
)
activitie = res.json() Response
{
"id": 1978,
"userId": 152,
"verb": "shared",
"targetType": "product",
"targetId": 25,
"createdAt": "2025-05-28T07:04:16.378Z"
}