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