Activity #2982
User #133 reacted sad post #490
5/2/2025, 5:38:17 AM
Overview
reactions / #2982
User #133 reacted sad post #490
5/2/2025, 5:38:17 AM
User #133 reacted sad post #490
5/2/2025, 5:38:17 AM
View recordUser #133 reacted sad post #490 · 5/2/2025, 5:38:17 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2982" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2982" ); 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/2982"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2982"
)
reaction = res.json() Response
{
"id": 2982,
"userId": 133,
"targetType": "post",
"targetId": 490,
"type": "sad",
"createdAt": "2025-05-02T05:38:17.186Z"
}