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