Activity #1458
User #53 reacted love post #253
12/17/2024, 7:52:53 PM
Overview
reactions / #1458
User #53 reacted love post #253
12/17/2024, 7:52:53 PM
User #53 reacted love post #253
12/17/2024, 7:52:53 PM
View recordUser #53 reacted love post #253 · 12/17/2024, 7:52:53 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/1458" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/1458" ); 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/1458"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/1458"
)
reaction = res.json() Response
{
"id": 1458,
"userId": 53,
"targetType": "post",
"targetId": 253,
"type": "love",
"createdAt": "2024-12-17T19:52:53.865Z"
}