Activity #432
User #100 reacted wow post #213
8/31/2024, 12:53:42 PM
Overview
reactions / #432
User #100 reacted wow post #213
8/31/2024, 12:53:42 PM
User #100 reacted wow post #213
8/31/2024, 12:53:42 PM
View recordUser #100 reacted wow post #213 · 8/31/2024, 12:53:42 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/432" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/432" ); 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/432"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/432"
)
reaction = res.json() Response
{
"id": 432,
"userId": 100,
"targetType": "post",
"targetId": 213,
"type": "wow",
"createdAt": "2024-08-31T12:53:42.711Z"
}