Activity #2914
User #146 commented restaurant #86
5/23/2025, 5:33:59 AM
Overview
activities / #2914
User #146 commented restaurant #86
5/23/2025, 5:33:59 AM
User #146 commented restaurant #86
5/23/2025, 5:33:59 AM
View recordUser #146 commented restaurant #86 · 5/23/2025, 5:33:59 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/2914" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/2914" ); 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/2914"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/2914"
)
activitie = res.json() Response
{
"id": 2914,
"userId": 146,
"verb": "commented",
"targetType": "restaurant",
"targetId": 86,
"createdAt": "2025-05-23T05:33:59.018Z"
}