Activity #1512
User #243 reacted wow post #330
7/15/2024, 9:45:25 PM
Overview
reactions / #1512
User #243 reacted wow post #330
7/15/2024, 9:45:25 PM
User #243 reacted wow post #330
7/15/2024, 9:45:25 PM
View recordUser #243 reacted wow post #330 · 7/15/2024, 9:45:25 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/1512" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/1512" ); 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/1512"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/1512"
)
reaction = res.json() Response
{
"id": 1512,
"userId": 243,
"targetType": "post",
"targetId": 330,
"type": "wow",
"createdAt": "2024-07-15T21:45:25.304Z"
}