Activity #731
User #196 commented restaurant #98
9/6/2025, 7:35:40 AM
Overview
activities / #731
User #196 commented restaurant #98
9/6/2025, 7:35:40 AM
User #196 commented restaurant #98
9/6/2025, 7:35:40 AM
View recordUser #196 commented restaurant #98 · 9/6/2025, 7:35:40 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/731" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/731" ); 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/731"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/731"
)
activitie = res.json() Response
{
"id": 731,
"userId": 196,
"verb": "commented",
"targetType": "restaurant",
"targetId": 98,
"createdAt": "2025-09-06T07:35:40.474Z"
}