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