Activity #528
User #20 reacted like post #406
3/17/2025, 3:16:18 AM
Overview
reactions / #528
User #20 reacted like post #406
3/17/2025, 3:16:18 AM
User #20 reacted like post #406
3/17/2025, 3:16:18 AM
View recordUser #20 reacted like post #406 · 3/17/2025, 3:16:18 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/528" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/528" ); 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/528"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/528"
)
reaction = res.json() Response
{
"id": 528,
"userId": 20,
"targetType": "post",
"targetId": 406,
"type": "like",
"createdAt": "2025-03-17T03:16:18.190Z"
}