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