Activity #648
User #172 updated restaurant #21
6/27/2025, 4:37:49 PM
Overview
activities / #648
User #172 updated restaurant #21
6/27/2025, 4:37:49 PM
User #172 updated restaurant #21
6/27/2025, 4:37:49 PM
View recordUser #172 updated restaurant #21 · 6/27/2025, 4:37:49 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/648" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/648" ); 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/648"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/648"
)
activitie = res.json() Response
{
"id": 648,
"userId": 172,
"verb": "updated",
"targetType": "restaurant",
"targetId": 21,
"createdAt": "2025-06-27T16:37:49.104Z"
}