Activity #79
User #238 reacted laugh post #476
2/22/2025, 10:46:33 AM
Overview
reactions / #79
User #238 reacted laugh post #476
2/22/2025, 10:46:33 AM
User #238 reacted laugh post #476
2/22/2025, 10:46:33 AM
View recordUser #238 reacted laugh post #476 · 2/22/2025, 10:46:33 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/79" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/79" ); 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/79"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/79"
)
reaction = res.json() Response
{
"id": 79,
"userId": 238,
"targetType": "post",
"targetId": 476,
"type": "laugh",
"createdAt": "2025-02-22T10:46:33.314Z"
}