Activity #2420
User #96 commented restaurant #45
11/14/2025, 3:57:56 PM
Overview
activities / #2420
User #96 commented restaurant #45
11/14/2025, 3:57:56 PM
User #96 commented restaurant #45
11/14/2025, 3:57:56 PM
View recordUser #96 commented restaurant #45 · 11/14/2025, 3:57:56 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/2420" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/2420" ); 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/2420"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/2420"
)
activitie = res.json() Response
{
"id": 2420,
"userId": 96,
"verb": "commented",
"targetType": "restaurant",
"targetId": 45,
"createdAt": "2025-11-14T15:57:56.412Z"
}