Activity #2376
User #81 reacted laugh post #345
2/2/2025, 4:19:12 AM
Overview
reactions / #2376
User #81 reacted laugh post #345
2/2/2025, 4:19:12 AM
User #81 reacted laugh post #345
2/2/2025, 4:19:12 AM
View recordUser #81 reacted laugh post #345 · 2/2/2025, 4:19:12 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2376" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2376" ); 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/2376"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2376"
)
reaction = res.json() Response
{
"id": 2376,
"userId": 81,
"targetType": "post",
"targetId": 345,
"type": "laugh",
"createdAt": "2025-02-02T04:19:12.850Z"
}