Expand description
Nextcloud Notifications API (v2) client and domain models.
Nextcloud provides an OCS API for listing, retrieving, and dismissing
user notifications beneath /ocs/v2.php/apps/notifications/api/v2/notifications.
NotificationClient— asynchronous client for fetching and deleting notifications.Notification— a Nextcloud notification item.NotificationAction— an interactive action button or link attached to a notification.
See the official Nextcloud Notifications API v2 documentation and Nextcloud Developer Manual OCS Overview.
Structs§
- Notification
- A Nextcloud notification item.
- Notification
Action - An interactive action button or link attached to a Nextcloud notification.
- Notification
Client - Client for interacting with Nextcloud’s Notifications API (v2).
Constants§
- NOTIFICATIONS_
API_ PATH - Relative path to Nextcloud’s Notifications OCS API v2 beneath
/ocs/v2.php.