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