Cozy Notifications doctype¶
io.cozy.notifications
¶
Applications can notify the cozy owner. They will appear in the cozy-bar, the mobile app, and a summary can be sent by email.
source
: {id} the id of the application/konnector that has made the notificationreference
: {string} a reference for the application (it can be used to hide other notifications like this one, or to update a count in a notification)title
: {string} a title to explain the notificationcontent
: {string} more context about the notificationicon
: {image} an icon to display with the notificationactions
: [{text, intent}] an array of objects with a text and an intent. Each action can be seen as a link, the text being what is shown and the intent what happens when clicking on the link.created_at
: {timestamp} the date of the creation.
See also the notification documentation for more informations.