Activity #676
User #42 reacted sad post #430
3/2/2025, 3:30:55 AM
Overview
reactions / #676
User #42 reacted sad post #430
3/2/2025, 3:30:55 AM
User #42 reacted sad post #430
3/2/2025, 3:30:55 AM
View recordUser #42 reacted sad post #430 · 3/2/2025, 3:30:55 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/676" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/676" ); 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/676"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/676"
)
reaction = res.json() Response
{
"id": 676,
"userId": 42,
"targetType": "post",
"targetId": 430,
"type": "sad",
"createdAt": "2025-03-02T03:30:55.807Z"
}