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