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