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