Preparing search index...

    Interface NotificationsApi

    Notifications REST API provides the following functions for use by plugins.

    interface NotificationsApi {
        acknowledgeAll(): void;
        acknowledgeNotification(id: string): void;
        silenceAll(): void;
        silenceNotification(id: string): void;
    }
    Index

    Notifications API

    • Acknowledges the notification with the supplied identifier. Note: Calling this method on a Notifications with a status of canAcknowledge = false will throw an Error

      Parameters

      • id: string

        Notification identifier.

      Returns void

    • Silences the notification with the supplied identifier. Note: Calling this method on a Notifications with a status of canSilence = false will throw an Error

      Parameters

      • id: string

        Notification identifier.

      Returns void