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