Activity #1731
User #1 commented restaurant #32
8/24/2025, 4:00:43 AM
Overview
activities / #1731
User #1 commented restaurant #32
8/24/2025, 4:00:43 AM
User #1 commented restaurant #32
8/24/2025, 4:00:43 AM
View recordUser #1 commented restaurant #32 · 8/24/2025, 4:00:43 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/1731" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/1731" ); 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/1731"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/1731"
)
activitie = res.json() Response
{
"id": 1731,
"userId": 1,
"verb": "commented",
"targetType": "restaurant",
"targetId": 32,
"createdAt": "2025-08-24T04:00:43.678Z"
}