Activity #2703
User #138 shared restaurant #28
12/7/2025, 10:25:05 PM
Overview
activities / #2703
User #138 shared restaurant #28
12/7/2025, 10:25:05 PM
User #138 shared restaurant #28
12/7/2025, 10:25:05 PM
View recordUser #138 shared restaurant #28 · 12/7/2025, 10:25:05 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/2703" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/2703" ); 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/2703"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/2703"
)
activitie = res.json() Response
{
"id": 2703,
"userId": 138,
"verb": "shared",
"targetType": "restaurant",
"targetId": 28,
"createdAt": "2025-12-07T22:25:05.143Z"
}