Activity #111
User #132 reacted laugh post #337
1/11/2025, 4:52:16 AM
Overview
reactions / #111
User #132 reacted laugh post #337
1/11/2025, 4:52:16 AM
User #132 reacted laugh post #337
1/11/2025, 4:52:16 AM
View recordUser #132 reacted laugh post #337 · 1/11/2025, 4:52:16 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/111" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/111" ); 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/111"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/111"
)
reaction = res.json() Response
{
"id": 111,
"userId": 132,
"targetType": "post",
"targetId": 337,
"type": "laugh",
"createdAt": "2025-01-11T04:52:16.790Z"
}