Activity #2520
User #13 reacted like post #53
1/14/2025, 10:28:07 PM
Overview
reactions / #2520
User #13 reacted like post #53
1/14/2025, 10:28:07 PM
User #13 reacted like post #53
1/14/2025, 10:28:07 PM
View recordUser #13 reacted like post #53 · 1/14/2025, 10:28:07 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2520" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2520" ); 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/2520"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2520"
)
reaction = res.json() Response
{
"id": 2520,
"userId": 13,
"targetType": "post",
"targetId": 53,
"type": "like",
"createdAt": "2025-01-14T22:28:07.629Z"
}