Activity #2225
User #10 commented restaurant #77
7/4/2025, 10:13:17 AM
Overview
activities / #2225
User #10 commented restaurant #77
7/4/2025, 10:13:17 AM
User #10 commented restaurant #77
7/4/2025, 10:13:17 AM
View recordUser #10 commented restaurant #77 · 7/4/2025, 10:13:17 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/2225" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/2225" ); 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/2225"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/2225"
)
activitie = res.json() Response
{
"id": 2225,
"userId": 10,
"verb": "commented",
"targetType": "restaurant",
"targetId": 77,
"createdAt": "2025-07-04T10:13:17.115Z"
}