Activity #1960
User #86 commented restaurant #75
8/21/2025, 10:14:38 AM
Overview
activities / #1960
User #86 commented restaurant #75
8/21/2025, 10:14:38 AM
User #86 commented restaurant #75
8/21/2025, 10:14:38 AM
View recordUser #86 commented restaurant #75 · 8/21/2025, 10:14:38 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/1960" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/1960" ); 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/1960"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/1960"
)
activitie = res.json() Response
{
"id": 1960,
"userId": 86,
"verb": "commented",
"targetType": "restaurant",
"targetId": 75,
"createdAt": "2025-08-21T10:14:38.332Z"
}