Activity #1194
User #239 reacted like post #180
12/21/2024, 12:37:39 PM
Overview
reactions / #1194
User #239 reacted like post #180
12/21/2024, 12:37:39 PM
User #239 reacted like post #180
12/21/2024, 12:37:39 PM
View recordUser #239 reacted like post #180 · 12/21/2024, 12:37:39 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/1194" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/1194" ); 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/1194"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/1194"
)
reaction = res.json() Response
{
"id": 1194,
"userId": 239,
"targetType": "post",
"targetId": 180,
"type": "like",
"createdAt": "2024-12-21T12:37:39.620Z"
}