Activity #1125
User #242 commented restaurant #54
11/10/2025, 9:53:21 PM
Overview
activities / #1125
User #242 commented restaurant #54
11/10/2025, 9:53:21 PM
User #242 commented restaurant #54
11/10/2025, 9:53:21 PM
View recordUser #242 commented restaurant #54 · 11/10/2025, 9:53:21 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/1125" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/1125" ); 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/1125"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/1125"
)
activitie = res.json() Response
{
"id": 1125,
"userId": 242,
"verb": "commented",
"targetType": "restaurant",
"targetId": 54,
"createdAt": "2025-11-10T21:53:21.342Z"
}