Activity #2432
User #97 reacted sad post #231
1/29/2025, 8:29:49 PM
Overview
reactions / #2432
User #97 reacted sad post #231
1/29/2025, 8:29:49 PM
User #97 reacted sad post #231
1/29/2025, 8:29:49 PM
View recordUser #97 reacted sad post #231 · 1/29/2025, 8:29:49 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2432" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2432" ); 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/2432"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2432"
)
reaction = res.json() Response
{
"id": 2432,
"userId": 97,
"targetType": "post",
"targetId": 231,
"type": "sad",
"createdAt": "2025-01-29T20:29:49.718Z"
}