Activity #2028
User #206 reacted laugh post #29
1/21/2025, 3:13:59 PM
Overview
reactions / #2028
User #206 reacted laugh post #29
1/21/2025, 3:13:59 PM
User #206 reacted laugh post #29
1/21/2025, 3:13:59 PM
View recordUser #206 reacted laugh post #29 · 1/21/2025, 3:13:59 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2028" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2028" ); 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/2028"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2028"
)
reaction = res.json() Response
{
"id": 2028,
"userId": 206,
"targetType": "post",
"targetId": 29,
"type": "laugh",
"createdAt": "2025-01-21T15:13:59.886Z"
}