Activity #456
User #141 shared restaurant #78
5/30/2025, 3:45:58 AM
Overview
activities / #456
User #141 shared restaurant #78
5/30/2025, 3:45:58 AM
User #141 shared restaurant #78
5/30/2025, 3:45:58 AM
View recordUser #141 shared restaurant #78 · 5/30/2025, 3:45:58 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/456" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/456" ); 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/456"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/456"
)
activitie = res.json() Response
{
"id": 456,
"userId": 141,
"verb": "shared",
"targetType": "restaurant",
"targetId": 78,
"createdAt": "2025-05-30T03:45:58.042Z"
}