example-data.com
Menu
Browse docs and collections

Overview

reactions / #1844

Activity #1844

User #164 reacted wow post #176

5/6/2025, 9:51:32 AM

Component variants

Medium
Small

User #164 reacted wow post #176 · 5/6/2025, 9:51:32 AM

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 1844,
  "userId": 164,
  "targetType": "post",
  "targetId": 176,
  "type": "wow",
  "createdAt": "2025-05-06T09:51:32.386Z"
}