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_ |
varchar2 |
itgen_ncl_message_rich | filters on the platform, writable, message |
Message with rich-text placeholders, as the platform renders it. | |
message_ |
varchar2 |
itgen_ncl_message_rich_parameters | filters on the platform, writable, message |
Parameters of message_rich, as JSON. The structure differs per notification type. | |
notification_ |
datetime |
itgen_ncl_notification_date | filters on the platform, writable, datetime |
Moment the notification was generated. | |
notification_ |
int64 |
itgen_ncl_notification_id | filters on the platform, notification_ |
Identifier of the notification. The where clause of a delete, never a value it writes. | |
object_ |
varchar2 |
itgen_ncl_object_id | filters on the platform, writable, object_ |
Identifier of the object the notification is about. | |
object_ |
varchar2 |
itgen_ncl_object_type | filters on the platform, writable, object_ |
Type of the object the notification is about. | |
should_ |
char |
itgen_ncl_should_notify | filters on the platform, writable, should |
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_ |
varchar2 |
itgen_ncl_subject_rich | filters on the platform, writable, subject |
Subject with rich-text placeholders, as the platform renders it. | |
subject_ |
varchar2 |
itgen_ncl_subject_rich_parameters | filters on the platform, writable, subject |
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. |