Activity #49
User #71 shared restaurant #92
10/12/2025, 11:03:43 AM
Overview
activities / #49
User #71 shared restaurant #92
10/12/2025, 11:03:43 AM
User #71 shared restaurant #92
10/12/2025, 11:03:43 AM
View recordUser #71 shared restaurant #92 · 10/12/2025, 11:03:43 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/49" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/49" ); 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/49"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/49"
)
activitie = res.json() Response
{
"id": 49,
"userId": 71,
"verb": "shared",
"targetType": "restaurant",
"targetId": 92,
"createdAt": "2025-10-12T11:03:43.257Z"
}