Activity #2770
User #158 reacted love post #151
2/26/2025, 5:58:51 PM
Overview
reactions / #2770
User #158 reacted love post #151
2/26/2025, 5:58:51 PM
User #158 reacted love post #151
2/26/2025, 5:58:51 PM
View recordUser #158 reacted love post #151 · 2/26/2025, 5:58:51 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2770" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2770" ); 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/2770"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2770"
)
reaction = res.json() Response
{
"id": 2770,
"userId": 158,
"targetType": "post",
"targetId": 151,
"type": "love",
"createdAt": "2025-02-26T17:58:51.369Z"
}