Activity #158
User #90 reacted sad post #219
4/24/2025, 10:53:27 PM
Overview
reactions / #158
User #90 reacted sad post #219
4/24/2025, 10:53:27 PM
User #90 reacted sad post #219
4/24/2025, 10:53:27 PM
View recordUser #90 reacted sad post #219 · 4/24/2025, 10:53:27 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/158" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/158" ); 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/158"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/158"
)
reaction = res.json() Response
{
"id": 158,
"userId": 90,
"targetType": "post",
"targetId": 219,
"type": "sad",
"createdAt": "2025-04-24T22:53:27.871Z"
}