Activity #2948
User #177 reacted laugh post #342
2/20/2025, 1:05:58 PM
Overview
reactions / #2948
User #177 reacted laugh post #342
2/20/2025, 1:05:58 PM
User #177 reacted laugh post #342
2/20/2025, 1:05:58 PM
View recordUser #177 reacted laugh post #342 · 2/20/2025, 1:05:58 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2948" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2948" ); 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/2948"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2948"
)
reaction = res.json() Response
{
"id": 2948,
"userId": 177,
"targetType": "post",
"targetId": 342,
"type": "laugh",
"createdAt": "2025-02-20T13:05:58.475Z"
}