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