Activity #225
User #114 reacted angry post #392
6/19/2024, 12:25:22 PM
Overview
reactions / #225
User #114 reacted angry post #392
6/19/2024, 12:25:22 PM
User #114 reacted angry post #392
6/19/2024, 12:25:22 PM
View recordUser #114 reacted angry post #392 · 6/19/2024, 12:25:22 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/225" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/225" ); 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/225"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/225"
)
reaction = res.json() Response
{
"id": 225,
"userId": 114,
"targetType": "post",
"targetId": 392,
"type": "angry",
"createdAt": "2024-06-19T12:25:22.467Z"
}