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