Activity #2786
User #187 created restaurant #86
9/7/2025, 10:37:18 PM
Overview
activities / #2786
User #187 created restaurant #86
9/7/2025, 10:37:18 PM
User #187 created restaurant #86
9/7/2025, 10:37:18 PM
View recordUser #187 created restaurant #86 · 9/7/2025, 10:37:18 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/2786" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/2786" ); 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/2786"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/2786"
)
activitie = res.json() Response
{
"id": 2786,
"userId": 187,
"verb": "created",
"targetType": "restaurant",
"targetId": 86,
"createdAt": "2025-09-07T22:37:18.547Z"
}