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