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