Activity #825
User #30 reacted angry post #59
12/25/2024, 5:49:55 AM
Overview
reactions / #825
User #30 reacted angry post #59
12/25/2024, 5:49:55 AM
User #30 reacted angry post #59
12/25/2024, 5:49:55 AM
View recordUser #30 reacted angry post #59 · 12/25/2024, 5:49:55 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/825" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/825" ); 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/825"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/825"
)
reaction = res.json() Response
{
"id": 825,
"userId": 30,
"targetType": "post",
"targetId": 59,
"type": "angry",
"createdAt": "2024-12-25T05:49:55.576Z"
}