Activity #2517
User #194 reacted wow post #114
7/16/2024, 12:57:23 PM
Overview
reactions / #2517
User #194 reacted wow post #114
7/16/2024, 12:57:23 PM
User #194 reacted wow post #114
7/16/2024, 12:57:23 PM
View recordUser #194 reacted wow post #114 · 7/16/2024, 12:57:23 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/2517" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/2517" ); 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/2517"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/2517"
)
reaction = res.json() Response
{
"id": 2517,
"userId": 194,
"targetType": "post",
"targetId": 114,
"type": "wow",
"createdAt": "2024-07-16T12:57:23.181Z"
}