Activity #2506
User #238 reacted laugh post #373
4/19/2025, 6:58:12 AM
Overview
reactions / #2506
User #238 reacted laugh post #373
4/19/2025, 6:58:12 AM
User #238 reacted laugh post #373
4/19/2025, 6:58:12 AM
View recordUser #238 reacted laugh post #373 · 4/19/2025, 6:58:12 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2506" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2506" ); const reaction = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/reactions.d.ts https://example-data.com/types/reactions.d.ts
import type { Reaction } from "./types/reactions";
const res = await fetch(
"https://example-data.com/api/v1/reactions/2506"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2506"
)
reaction = res.json() Response
{
"id": 2506,
"userId": 238,
"targetType": "post",
"targetId": 373,
"type": "laugh",
"createdAt": "2025-04-19T06:58:12.660Z"
}