Activity #973
User #247 reacted sad post #449
1/28/2025, 4:08:40 AM
Overview
reactions / #973
User #247 reacted sad post #449
1/28/2025, 4:08:40 AM
User #247 reacted sad post #449
1/28/2025, 4:08:40 AM
View recordUser #247 reacted sad post #449 · 1/28/2025, 4:08:40 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/973" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/973" ); 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/973"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/973"
)
reaction = res.json() Response
{
"id": 973,
"userId": 247,
"targetType": "post",
"targetId": 449,
"type": "sad",
"createdAt": "2025-01-28T04:08:40.605Z"
}