Activity #612
User #144 reacted laugh post #421
10/1/2024, 2:07:49 AM
Overview
reactions / #612
User #144 reacted laugh post #421
10/1/2024, 2:07:49 AM
User #144 reacted laugh post #421
10/1/2024, 2:07:49 AM
View recordUser #144 reacted laugh post #421 · 10/1/2024, 2:07:49 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/612" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/612" ); 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/612"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/612"
)
reaction = res.json() Response
{
"id": 612,
"userId": 144,
"targetType": "post",
"targetId": 421,
"type": "laugh",
"createdAt": "2024-10-01T02:07:49.314Z"
}