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