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