Activity #1542
User #216 shared restaurant #45
3/11/2026, 8:41:14 PM
Overview
activities / #1542
User #216 shared restaurant #45
3/11/2026, 8:41:14 PM
User #216 shared restaurant #45
3/11/2026, 8:41:14 PM
View recordUser #216 shared restaurant #45 · 3/11/2026, 8:41:14 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/1542" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/1542" ); 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/1542"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/1542"
)
activitie = res.json() Response
{
"id": 1542,
"userId": 216,
"verb": "shared",
"targetType": "restaurant",
"targetId": 45,
"createdAt": "2026-03-11T20:41:14.168Z"
}