Activity #728
User #188 reacted laugh post #85
3/20/2025, 11:49:38 PM
Overview
reactions / #728
User #188 reacted laugh post #85
3/20/2025, 11:49:38 PM
User #188 reacted laugh post #85
3/20/2025, 11:49:38 PM
View recordUser #188 reacted laugh post #85 · 3/20/2025, 11:49:38 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/728" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/728" ); 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/728"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/728"
)
reaction = res.json() Response
{
"id": 728,
"userId": 188,
"targetType": "post",
"targetId": 85,
"type": "laugh",
"createdAt": "2025-03-20T23:49:38.865Z"
}