Activity #1955
User #223 created restaurant #34
6/3/2025, 4:04:38 AM
Overview
activities / #1955
User #223 created restaurant #34
6/3/2025, 4:04:38 AM
User #223 created restaurant #34
6/3/2025, 4:04:38 AM
View recordUser #223 created restaurant #34 · 6/3/2025, 4:04:38 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/1955" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/1955" ); 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/1955"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/1955"
)
activitie = res.json() Response
{
"id": 1955,
"userId": 223,
"verb": "created",
"targetType": "restaurant",
"targetId": 34,
"createdAt": "2025-06-03T04:04:38.397Z"
}