Activity #537
User #117 reacted sad post #281
3/1/2025, 5:32:24 PM
Overview
reactions / #537
User #117 reacted sad post #281
3/1/2025, 5:32:24 PM
User #117 reacted sad post #281
3/1/2025, 5:32:24 PM
View recordUser #117 reacted sad post #281 · 3/1/2025, 5:32:24 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/537" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/537" ); 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/537"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/537"
)
reaction = res.json() Response
{
"id": 537,
"userId": 117,
"targetType": "post",
"targetId": 281,
"type": "sad",
"createdAt": "2025-03-01T17:32:24.017Z"
}