Activity #1446
User #78 reacted laugh post #498
2/15/2025, 9:33:22 PM
Overview
reactions / #1446
User #78 reacted laugh post #498
2/15/2025, 9:33:22 PM
User #78 reacted laugh post #498
2/15/2025, 9:33:22 PM
View recordUser #78 reacted laugh post #498 · 2/15/2025, 9:33:22 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/1446" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/1446" ); 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/1446"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/1446"
)
reaction = res.json() Response
{
"id": 1446,
"userId": 78,
"targetType": "post",
"targetId": 498,
"type": "laugh",
"createdAt": "2025-02-15T21:33:22.957Z"
}