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