mirror of
https://github.com/elisspace/core.git
synced 2026-08-30 08:02:02 +00:00
* Remove mark_read from persistent_notification Nothing on the frontend uses this, and the service is not documented There is not much point in keeping this as the notifications are no longer stored in the state machine * adjust * adjust
36 lines
948 B
YAML
36 lines
948 B
YAML
create:
|
|
name: Create
|
|
description: Show a notification in the frontend.
|
|
fields:
|
|
message:
|
|
name: Message
|
|
description: Message body of the notification. [Templates accepted]
|
|
required: true
|
|
example: Please check your configuration.yaml.
|
|
selector:
|
|
text:
|
|
title:
|
|
name: Title
|
|
description: Optional title for your notification. [Templates accepted]
|
|
example: Test notification
|
|
selector:
|
|
text:
|
|
notification_id:
|
|
name: Notification ID
|
|
description: Target ID of the notification, will replace a notification with the same ID.
|
|
example: 1234
|
|
selector:
|
|
text:
|
|
|
|
dismiss:
|
|
name: Dismiss
|
|
description: Remove a notification from the frontend.
|
|
fields:
|
|
notification_id:
|
|
name: Notification ID
|
|
description: Target ID of the notification, which should be removed.
|
|
required: true
|
|
example: 1234
|
|
selector:
|
|
text:
|