Activity #131
User #28 reply Sam Hegmann-Jast replied to your comment
6/6/2025, 3:03:56 AM
Overview
notifications / #131
User #28 reply Sam Hegmann-Jast replied to your comment
6/6/2025, 3:03:56 AM
User #28 reply Sam Hegmann-Jast replied to your comment
6/6/2025, 3:03:56 AM
View recordUser #28 reply Sam Hegmann-Jast replied to your comment · 6/6/2025, 3:03:56 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/notifications/131" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/notifications/131" ); const notification = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/notifications.d.ts https://example-data.com/types/notifications.d.ts
import type { Notification } from "./types/notifications";
const res = await fetch(
"https://example-data.com/api/v1/notifications/131"
);
const notification = (await res.json()) as Notification; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/notifications/131"
)
notification = res.json() Response
{
"id": 131,
"userId": 28,
"type": "reply",
"title": "Sam Hegmann-Jast replied to your comment",
"body": "Cursim deputo termes via spes aestivus statua ver laboriosam.",
"isRead": true,
"link": null,
"createdAt": "2025-06-06T03:03:56.806Z"
}