Activity #517
User #134 reacted angry post #458
2/14/2025, 5:11:27 PM
Overview
reactions / #517
User #134 reacted angry post #458
2/14/2025, 5:11:27 PM
User #134 reacted angry post #458
2/14/2025, 5:11:27 PM
View recordUser #134 reacted angry post #458 · 2/14/2025, 5:11:27 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/517" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/517" ); 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/517"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/517"
)
reaction = res.json() Response
{
"id": 517,
"userId": 134,
"targetType": "post",
"targetId": 458,
"type": "angry",
"createdAt": "2025-02-14T17:11:27.185Z"
}