Activity #1873
User #146 reacted wow post #88
9/12/2024, 8:13:07 AM
Overview
reactions / #1873
User #146 reacted wow post #88
9/12/2024, 8:13:07 AM
User #146 reacted wow post #88
9/12/2024, 8:13:07 AM
View recordUser #146 reacted wow post #88 · 9/12/2024, 8:13:07 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/1873" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/1873" ); 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/1873"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/1873"
)
reaction = res.json() Response
{
"id": 1873,
"userId": 146,
"targetType": "post",
"targetId": 88,
"type": "wow",
"createdAt": "2024-09-12T08:13:07.768Z"
}