Activity #6
User #106 commented restaurant #78
10/1/2025, 2:38:04 PM
Overview
activities / #6
User #106 commented restaurant #78
10/1/2025, 2:38:04 PM
User #106 commented restaurant #78
10/1/2025, 2:38:04 PM
View recordUser #106 commented restaurant #78 · 10/1/2025, 2:38:04 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/6" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/6" ); 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/6"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/6"
)
activitie = res.json() Response
{
"id": 6,
"userId": 106,
"verb": "commented",
"targetType": "restaurant",
"targetId": 78,
"createdAt": "2025-10-01T14:38:04.818Z"
}