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