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