Activity #932
User #76 created restaurant #71
6/5/2025, 9:05:56 AM
Overview
activities / #932
User #76 created restaurant #71
6/5/2025, 9:05:56 AM
User #76 created restaurant #71
6/5/2025, 9:05:56 AM
View recordUser #76 created restaurant #71 · 6/5/2025, 9:05:56 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/932" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/932" ); 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/932"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/932"
)
activitie = res.json() Response
{
"id": 932,
"userId": 76,
"verb": "created",
"targetType": "restaurant",
"targetId": 71,
"createdAt": "2025-06-05T09:05:56.379Z"
}