Activity #1568
User #189 commented restaurant #87
6/8/2025, 2:05:59 AM
Overview
activities / #1568
User #189 commented restaurant #87
6/8/2025, 2:05:59 AM
User #189 commented restaurant #87
6/8/2025, 2:05:59 AM
View recordUser #189 commented restaurant #87 · 6/8/2025, 2:05:59 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/1568" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/1568" ); 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/1568"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/1568"
)
activitie = res.json() Response
{
"id": 1568,
"userId": 189,
"verb": "commented",
"targetType": "restaurant",
"targetId": 87,
"createdAt": "2025-06-08T02:05:59.549Z"
}