Activity #859
User #182 reacted love post #205
12/1/2024, 4:38:49 AM
Overview
reactions / #859
User #182 reacted love post #205
12/1/2024, 4:38:49 AM
User #182 reacted love post #205
12/1/2024, 4:38:49 AM
View recordUser #182 reacted love post #205 · 12/1/2024, 4:38:49 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/859" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/859" ); 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/859"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/859"
)
reaction = res.json() Response
{
"id": 859,
"userId": 182,
"targetType": "post",
"targetId": 205,
"type": "love",
"createdAt": "2024-12-01T04:38:49.586Z"
}