Activity #2416
User #111 shared restaurant #54
6/28/2025, 1:26:03 AM
Overview
activities / #2416
User #111 shared restaurant #54
6/28/2025, 1:26:03 AM
User #111 shared restaurant #54
6/28/2025, 1:26:03 AM
View recordUser #111 shared restaurant #54 · 6/28/2025, 1:26:03 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/activities/2416" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/activities/2416" ); 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/2416"
);
const activity = (await res.json()) as Activity; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/activities/2416"
)
activitie = res.json() Response
{
"id": 2416,
"userId": 111,
"verb": "shared",
"targetType": "restaurant",
"targetId": 54,
"createdAt": "2025-06-28T01:26:03.281Z"
}