Activity #1
User #15 shared restaurant #9
2/3/2026, 9:24:31 AM
Overview
activities / #1
User #15 shared restaurant #9
2/3/2026, 9:24:31 AM
User #15 shared restaurant #9
2/3/2026, 9:24:31 AM
View recordUser #15 shared restaurant #9 · 2/3/2026, 9:24:31 AM
Request
curl example
curl -sS \
"https://example-data.com/api/v1/activities/1" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/activities/1"
);
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/1"
);
const activity = (await res.json()) as Activity;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/1"
)
activitie = res.json()
Response
{
"id": 1,
"userId": 15,
"verb": "shared",
"targetType": "restaurant",
"targetId": 9,
"createdAt": "2026-02-03T09:24:31.539Z"
}