Activity #132
User #196 reacted wow post #418
8/17/2024, 3:10:27 PM
Overview
reactions / #132
User #196 reacted wow post #418
8/17/2024, 3:10:27 PM
User #196 reacted wow post #418
8/17/2024, 3:10:27 PM
View recordUser #196 reacted wow post #418 · 8/17/2024, 3:10:27 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/132" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/132" ); 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/132"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/132"
)
reaction = res.json() Response
{
"id": 132,
"userId": 196,
"targetType": "post",
"targetId": 418,
"type": "wow",
"createdAt": "2024-08-17T15:10:27.001Z"
}