Activity #2588
User #77 created restaurant #37
5/25/2025, 5:19:28 AM
Overview
activities / #2588
User #77 created restaurant #37
5/25/2025, 5:19:28 AM
User #77 created restaurant #37
5/25/2025, 5:19:28 AM
View recordUser #77 created restaurant #37 · 5/25/2025, 5:19:28 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/2588" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/2588" ); 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/2588"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/2588"
)
activitie = res.json() Response
{
"id": 2588,
"userId": 77,
"verb": "created",
"targetType": "restaurant",
"targetId": 37,
"createdAt": "2025-05-25T05:19:28.452Z"
}