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