Activity #227
User #40 reacted love post #147
3/7/2025, 1:02:45 AM
Overview
reactions / #227
User #40 reacted love post #147
3/7/2025, 1:02:45 AM
User #40 reacted love post #147
3/7/2025, 1:02:45 AM
View recordUser #40 reacted love post #147 · 3/7/2025, 1:02:45 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/227" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/227" ); 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/227"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/227"
)
reaction = res.json() Response
{
"id": 227,
"userId": 40,
"targetType": "post",
"targetId": 147,
"type": "love",
"createdAt": "2025-03-07T01:02:45.194Z"
}