Activity #2741
User #31 reacted angry post #125
1/17/2025, 5:21:33 PM
Overview
reactions / #2741
User #31 reacted angry post #125
1/17/2025, 5:21:33 PM
User #31 reacted angry post #125
1/17/2025, 5:21:33 PM
View recordUser #31 reacted angry post #125 · 1/17/2025, 5:21:33 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2741" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2741" ); 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/2741"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2741"
)
reaction = res.json() Response
{
"id": 2741,
"userId": 31,
"targetType": "post",
"targetId": 125,
"type": "angry",
"createdAt": "2025-01-17T17:21:33.052Z"
}