1.1 KiB
1.1 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| immich_notifications Data Source - immich | Retrieves a list of notifications for the current user. |
immich_notifications (Data Source)
Retrieves a list of notifications for the current user.
Example Usage
data "immich_notifications" "my_unread" {
unread_only = true
}
output "unread_notifications" {
value = data.immich_notifications.my_unread.notifications
}
Schema
Optional
unread_only(Boolean) Filter for only unread notifications.
Read-Only
notifications(Attributes List) List of notifications. (see below for nested schema)
Nested Schema for notifications
Read-Only:
created_at(String) Timestamp when the notification was created.description(String) Notification message body.id(String) Unique identifier for the notification.level(String) Severity level.title(String) Notification title.type(String) Type of notification.