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