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