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