Activity #697
User #54 reacted wow post #127
11/10/2024, 1:53:41 PM
Overview
reactions / #697
User #54 reacted wow post #127
11/10/2024, 1:53:41 PM
User #54 reacted wow post #127
11/10/2024, 1:53:41 PM
View recordUser #54 reacted wow post #127 · 11/10/2024, 1:53:41 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/697" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/697" ); 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/697"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/697"
)
reaction = res.json() Response
{
"id": 697,
"userId": 54,
"targetType": "post",
"targetId": 127,
"type": "wow",
"createdAt": "2024-11-10T13:53:41.767Z"
}