Activity #1601
User #31 commented restaurant #78
7/29/2025, 11:43:35 AM
Overview
activities / #1601
User #31 commented restaurant #78
7/29/2025, 11:43:35 AM
User #31 commented restaurant #78
7/29/2025, 11:43:35 AM
View recordUser #31 commented restaurant #78 · 7/29/2025, 11:43:35 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/1601" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/1601" ); 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/1601"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/1601"
)
activitie = res.json() Response
{
"id": 1601,
"userId": 31,
"verb": "commented",
"targetType": "restaurant",
"targetId": 78,
"createdAt": "2025-07-29T11:43:35.420Z"
}