Activity #2893
User #28 reacted laugh post #342
4/8/2025, 11:01:13 PM
Overview
reactions / #2893
User #28 reacted laugh post #342
4/8/2025, 11:01:13 PM
User #28 reacted laugh post #342
4/8/2025, 11:01:13 PM
View recordUser #28 reacted laugh post #342 · 4/8/2025, 11:01:13 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2893" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2893" ); 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/2893"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2893"
)
reaction = res.json() Response
{
"id": 2893,
"userId": 28,
"targetType": "post",
"targetId": 342,
"type": "laugh",
"createdAt": "2025-04-08T23:01:13.971Z"
}