Activity #118
User #164 commented restaurant #2
11/16/2025, 5:24:37 AM
Overview
activities / #118
User #164 commented restaurant #2
11/16/2025, 5:24:37 AM
User #164 commented restaurant #2
11/16/2025, 5:24:37 AM
View recordUser #164 commented restaurant #2 · 11/16/2025, 5:24:37 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/118" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/118" ); 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/118"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/118"
)
activitie = res.json() Response
{
"id": 118,
"userId": 164,
"verb": "commented",
"targetType": "restaurant",
"targetId": 2,
"createdAt": "2025-11-16T05:24:37.739Z"
}