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