Activity #1452
User #12 reacted sad post #160
5/17/2025, 9:23:37 PM
Overview
reactions / #1452
User #12 reacted sad post #160
5/17/2025, 9:23:37 PM
User #12 reacted sad post #160
5/17/2025, 9:23:37 PM
View recordUser #12 reacted sad post #160 · 5/17/2025, 9:23:37 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/1452" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/1452" ); 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/1452"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/1452"
)
reaction = res.json() Response
{
"id": 1452,
"userId": 12,
"targetType": "post",
"targetId": 160,
"type": "sad",
"createdAt": "2025-05-17T21:23:37.894Z"
}