example-data.com
Menu
Browse docs and collections

Overview

reactions / #1688

Activity #1688

User #199 reacted love post #14

12/7/2025, 8:16:10 PM

Component variants

Medium
Small

User #199 reacted love post #14 · 12/7/2025, 8:16:10 PM

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/reactions/1688" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/reactions/1688"
);
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/1688"
);
const reaction = (await res.json()) as Reaction;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/reactions/1688"
)
reaction = res.json()

Response

{
  "id": 1688,
  "userId": 199,
  "targetType": "post",
  "targetId": 14,
  "type": "love",
  "createdAt": "2025-12-07T20:16:10.706Z"
}