Activity #424
User #104 commented restaurant #37
7/24/2025, 11:53:14 AM
Overview
activities / #424
User #104 commented restaurant #37
7/24/2025, 11:53:14 AM
User #104 commented restaurant #37
7/24/2025, 11:53:14 AM
View recordUser #104 commented restaurant #37 · 7/24/2025, 11:53:14 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/424" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/424" ); 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/424"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/424"
)
activitie = res.json() Response
{
"id": 424,
"userId": 104,
"verb": "commented",
"targetType": "restaurant",
"targetId": 37,
"createdAt": "2025-07-24T11:53:14.816Z"
}