Activity #63
User #137 commented restaurant #98
7/22/2025, 12:34:46 PM
Overview
activities / #63
User #137 commented restaurant #98
7/22/2025, 12:34:46 PM
User #137 commented restaurant #98
7/22/2025, 12:34:46 PM
View recordUser #137 commented restaurant #98 · 7/22/2025, 12:34:46 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/63" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/63" ); 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/63"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/63"
)
activitie = res.json() Response
{
"id": 63,
"userId": 137,
"verb": "commented",
"targetType": "restaurant",
"targetId": 98,
"createdAt": "2025-07-22T12:34:46.251Z"
}