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