nextcloud-notifications 0.1.1

Nextcloud Notifications API (v2) client and domain models
Documentation

nextcloud-notifications

Nextcloud Notifications v2 API client for receiving and dismissing user notifications.

Part of the nextcloud-rust-sdk workspace.

Installation

[dependencies]
nextcloud-notifications = "0.1.1"

Features

  • NotificationClient: Queries and dismisses user notifications.
  • Notification: Details application origin, subject, message, link, and interactive actions.
  • NotificationAction: Interactive button or link actions defined by Nextcloud apps.

Example

use nextcloud_notifications::NotificationClient;

// Lists notifications, retrieves single notifications, and executes notification actions

License

GNU General Public License v3.0 or later (GPL-3.0-or-later).