Activity #2207
User #21 created restaurant #56
7/3/2025, 4:48:44 PM
Overview
activities / #2207
User #21 created restaurant #56
7/3/2025, 4:48:44 PM
User #21 created restaurant #56
7/3/2025, 4:48:44 PM
View recordUser #21 created restaurant #56 · 7/3/2025, 4:48:44 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/2207" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/2207" ); 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/2207"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/2207"
)
activitie = res.json() Response
{
"id": 2207,
"userId": 21,
"verb": "created",
"targetType": "restaurant",
"targetId": 56,
"createdAt": "2025-07-03T16:48:44.592Z"
}