Activity #800
User #248 reacted laugh post #51
6/26/2024, 3:36:46 AM
Overview
reactions / #800
User #248 reacted laugh post #51
6/26/2024, 3:36:46 AM
User #248 reacted laugh post #51
6/26/2024, 3:36:46 AM
View recordUser #248 reacted laugh post #51 · 6/26/2024, 3:36:46 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/reactions/800" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/reactions/800" ); 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/800"
);
const reaction = (await res.json()) as Reaction; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/reactions/800"
)
reaction = res.json() Response
{
"id": 800,
"userId": 248,
"targetType": "post",
"targetId": 51,
"type": "laugh",
"createdAt": "2024-06-26T03:36:46.065Z"
}