Activity #569
User #197 reacted wow post #378
9/11/2024, 7:30:33 PM
Overview
reactions / #569
User #197 reacted wow post #378
9/11/2024, 7:30:33 PM
User #197 reacted wow post #378
9/11/2024, 7:30:33 PM
View recordUser #197 reacted wow post #378 · 9/11/2024, 7:30:33 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/569" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/569" ); 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/569"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/569"
)
reaction = res.json() Response
{
"id": 569,
"userId": 197,
"targetType": "post",
"targetId": 378,
"type": "wow",
"createdAt": "2024-09-11T19:30:33.045Z"
}