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