invantive documentation
Invantive Support ForumsLog In / Sign Up

Notifications: Nextcloud Nextcloud Notifications

delete REST

  • Catalog: Nextcloud
  • Schema: Nextcloud
  • Primary Keys: notification_id
  • Label: Nextcloud Notifications

Can retrieve data and change data using delete.

Summary

Notifications of the connected account, one row per notification. Delete only: a notification is generated by Nextcloud itself.

API Source

  • Endpoint: /ocs/v2.php/apps/notifications/api/v2/notifications?format=json

Performance Characteristics

Characteristic Value
Average access latency (ms) 307
Full scan rows per minute 462

The result can be cached on the client.

Table Columns

The columns of the table Notifications are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
app varchar2 itgen_ncl_app filters on the platform, writable, app Application the notification originated from.
icon varchar2 itgen_ncl_icon filters on the platform, writable, icon URL of the icon shown beside the notification.
link varchar2 itgen_ncl_link filters on the platform, writable, link Link the notification points to, where it has one.
message varchar2 itgen_ncl_message filters on the platform, writable, message Plain-text message body.
message_rich varchar2 itgen_ncl_message_rich filters on the platform, writable, messageRich Message with rich-text placeholders, as the platform renders it.
message_rich_parameters varchar2 itgen_ncl_message_rich_parameters filters on the platform, writable, messageRichParameters Parameters of message_rich, as JSON. The structure differs per notification type.
notification_date datetime itgen_ncl_notification_date filters on the platform, writable, datetime Moment the notification was generated.
notification_id int64 itgen_ncl_notification_id filters on the platform, notification_id Identifier of the notification. The where clause of a delete, never a value it writes.
object_id varchar2 itgen_ncl_object_id filters on the platform, writable, object_id Identifier of the object the notification is about.
object_type varchar2 itgen_ncl_object_type filters on the platform, writable, object_type Type of the object the notification is about.
should_notify char itgen_ncl_should_notify filters on the platform, writable, shouldNotify Whether the platform still owes the user an active notification (push, email) for this row.
subject varchar2 itgen_ncl_subject filters on the platform, writable, subject Short, plain-text subject.
subject_rich varchar2 itgen_ncl_subject_rich filters on the platform, writable, subjectRich Subject with rich-text placeholders, as the platform renders it.
subject_rich_parameters varchar2 itgen_ncl_subject_rich_parameters filters on the platform, writable, subjectRichParameters Parameters of subject_rich, as JSON. The structure differs per notification type.
user varchar2 itgen_ncl_user filters on the platform, writable, user Login name of the account the notification was sent to.