Activity #2166
User #81 updated restaurant #30
5/25/2025, 2:53:46 PM
Overview
activities / #2166
User #81 updated restaurant #30
5/25/2025, 2:53:46 PM
User #81 updated restaurant #30
5/25/2025, 2:53:46 PM
View recordUser #81 updated restaurant #30 · 5/25/2025, 2:53:46 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/2166" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/2166" ); 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/2166"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/2166"
)
activitie = res.json() Response
{
"id": 2166,
"userId": 81,
"verb": "updated",
"targetType": "restaurant",
"targetId": 30,
"createdAt": "2025-05-25T14:53:46.300Z"
}