Activity #832
User #145 reacted angry post #26
1/19/2025, 11:45:34 PM
Overview
reactions / #832
User #145 reacted angry post #26
1/19/2025, 11:45:34 PM
User #145 reacted angry post #26
1/19/2025, 11:45:34 PM
View recordUser #145 reacted angry post #26 · 1/19/2025, 11:45:34 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/832" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/832" ); 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/832"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/832"
)
reaction = res.json() Response
{
"id": 832,
"userId": 145,
"targetType": "post",
"targetId": 26,
"type": "angry",
"createdAt": "2025-01-19T23:45:34.558Z"
}