Activity #2550
User #179 reacted angry post #342
1/1/2025, 4:37:49 AM
Overview
reactions / #2550
User #179 reacted angry post #342
1/1/2025, 4:37:49 AM
User #179 reacted angry post #342
1/1/2025, 4:37:49 AM
View recordUser #179 reacted angry post #342 · 1/1/2025, 4:37:49 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2550" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2550" ); 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/2550"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2550"
)
reaction = res.json() Response
{
"id": 2550,
"userId": 179,
"targetType": "post",
"targetId": 342,
"type": "angry",
"createdAt": "2025-01-01T04:37:49.852Z"
}