Activity #522
User #213 shared product #142
6/5/2025, 11:40:04 PM
Overview
activities / #522
User #213 shared product #142
6/5/2025, 11:40:04 PM
User #213 shared product #142
6/5/2025, 11:40:04 PM
View recordUser #213 shared product #142 · 6/5/2025, 11:40:04 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/522" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/522" ); 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/522"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/522"
)
activitie = res.json() Response
{
"id": 522,
"userId": 213,
"verb": "shared",
"targetType": "product",
"targetId": 142,
"createdAt": "2025-06-05T23:40:04.100Z"
}