Activity #798
User #20 shared restaurant #85
11/24/2025, 4:22:28 PM
Overview
activities / #798
User #20 shared restaurant #85
11/24/2025, 4:22:28 PM
User #20 shared restaurant #85
11/24/2025, 4:22:28 PM
View recordUser #20 shared restaurant #85 · 11/24/2025, 4:22:28 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/798" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/798" ); 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/798"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/798"
)
activitie = res.json() Response
{
"id": 798,
"userId": 20,
"verb": "shared",
"targetType": "restaurant",
"targetId": 85,
"createdAt": "2025-11-24T16:22:28.814Z"
}