Activity #1080
User #81 reacted sad post #17
3/19/2025, 6:25:23 PM
Overview
reactions / #1080
User #81 reacted sad post #17
3/19/2025, 6:25:23 PM
User #81 reacted sad post #17
3/19/2025, 6:25:23 PM
View recordUser #81 reacted sad post #17 · 3/19/2025, 6:25:23 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/1080" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/1080" ); 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/1080"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/1080"
)
reaction = res.json() Response
{
"id": 1080,
"userId": 81,
"targetType": "post",
"targetId": 17,
"type": "sad",
"createdAt": "2025-03-19T18:25:23.533Z"
}