← Technical API reference

Frontend module · STATIC DECLARATIONS

Routes client API reference · mansoq-notifications-fe

8 client route/call declarations with path parameters, named payload/response types and source references. Exact server acceptance and permissions require the matched backend contract.

Static API contract — behavior review pending. Source baseline f6e9f05f76d4.

Enable JavaScript to inspect structured operation, parameter, schema and permission evidence. Download this reference and its evidence.

Client contract scope

These 8 declarations come from repositories/platform/mansoq-notifications-fe/src/api/routes.ts. Client types and noAuth flags describe the caller; they do not authorize a server action. Dynamic paths and missing backend matches are retained as review work, not repaired into invented endpoints.

Operation map

Client method HTTP method Path pattern Resolution
notificationRoutes.listNotifications GET /api/mansoq_notifications/in_app_notifications/ literal
notificationRoutes.getNotification GET /api/mansoq_notifications/in_app_notifications/{external_id}/ literal
notificationRoutes.markRead POST /api/mansoq_notifications/in_app_notifications/mark_read/ literal
notificationRoutes.markUnread POST /api/mansoq_notifications/in_app_notifications/mark_unread/ literal
notificationRoutes.listWebPushSubscriptions GET /api/mansoq_notifications/web_push_subscriptions/ literal
notificationRoutes.createWebPushSubscription POST /api/mansoq_notifications/web_push_subscriptions/ literal
notificationRoutes.unsubscribeWebPush POST /api/mansoq_notifications/web_push_subscriptions/unsubscribe/ literal
notificationRoutes.getVapidPublicKey GET /api/mansoq_notifications/web_push_subscriptions/vapid_public_key/ literal

notificationRoutes.listNotifications

GET /api/mansoq_notifications/in_app_notifications/. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

notificationRoutes.getNotification

GET /api/mansoq_notifications/in_app_notifications/{external_id}/. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.

Path parameters: external_id. Transport strings are declared here; semantic identifier types require the server contract.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

notificationRoutes.markRead

POST /api/mansoq_notifications/in_app_notifications/mark_read/. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

notificationRoutes.markUnread

POST /api/mansoq_notifications/in_app_notifications/mark_unread/. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

notificationRoutes.listWebPushSubscriptions

GET /api/mansoq_notifications/web_push_subscriptions/. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

notificationRoutes.createWebPushSubscription

POST /api/mansoq_notifications/web_push_subscriptions/. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

notificationRoutes.unsubscribeWebPush

POST /api/mansoq_notifications/web_push_subscriptions/unsubscribe/. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

notificationRoutes.getVapidPublicKey

GET /api/mansoq_notifications/web_push_subscriptions/vapid_public_key/. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

Pinned source evidence

Links require access to the private source repository.