Activity #201
User #140 reacted wow post #351
7/22/2024, 8:18:33 PM
Overview
reactions / #201
User #140 reacted wow post #351
7/22/2024, 8:18:33 PM
User #140 reacted wow post #351
7/22/2024, 8:18:33 PM
View recordUser #140 reacted wow post #351 · 7/22/2024, 8:18:33 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/201" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/201" ); 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/201"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/201"
)
reaction = res.json() Response
{
"id": 201,
"userId": 140,
"targetType": "post",
"targetId": 351,
"type": "wow",
"createdAt": "2024-07-22T20:18:33.439Z"
}