Activity #646
User #138 created restaurant #85
7/6/2025, 12:03:43 PM
Overview
activities / #646
User #138 created restaurant #85
7/6/2025, 12:03:43 PM
User #138 created restaurant #85
7/6/2025, 12:03:43 PM
View recordUser #138 created restaurant #85 · 7/6/2025, 12:03:43 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/646" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/646" ); 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/646"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/646"
)
activitie = res.json() Response
{
"id": 646,
"userId": 138,
"verb": "created",
"targetType": "restaurant",
"targetId": 85,
"createdAt": "2025-07-06T12:03:43.785Z"
}