Activity #367
User #174 reacted sad post #484
3/13/2025, 4:41:04 PM
Overview
reactions / #367
User #174 reacted sad post #484
3/13/2025, 4:41:04 PM
User #174 reacted sad post #484
3/13/2025, 4:41:04 PM
View recordUser #174 reacted sad post #484 · 3/13/2025, 4:41:04 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/367" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/367" ); 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/367"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/367"
)
reaction = res.json() Response
{
"id": 367,
"userId": 174,
"targetType": "post",
"targetId": 484,
"type": "sad",
"createdAt": "2025-03-13T16:41:04.765Z"
}