Activity #478
User #69 reacted wow post #498
6/17/2024, 4:38:10 AM
Overview
reactions / #478
User #69 reacted wow post #498
6/17/2024, 4:38:10 AM
User #69 reacted wow post #498
6/17/2024, 4:38:10 AM
View recordUser #69 reacted wow post #498 · 6/17/2024, 4:38:10 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/478" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/478" ); 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/478"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/478"
)
reaction = res.json() Response
{
"id": 478,
"userId": 69,
"targetType": "post",
"targetId": 498,
"type": "wow",
"createdAt": "2024-06-17T04:38:10.006Z"
}