Skip to content

Commit

Permalink
docs(push-v2): Document silent delete-multiple push notification
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Oct 28, 2024
1 parent 78c510e commit 127ce4d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/push-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,22 @@ These notifications should not be shown to the user. Instead you should delete p
| `delete` | Delete all notifications related to `nid` | `delete` |


#### Silent delete notifications (multiple)

These notifications should not be shown to the user. Instead you should delete pending system notifications for the respective ids

```json
{
"delete-multiple" : true,
"nids" : [1337]
}
```

| Attribute | Meaning | Capability |
|-------------------|-----------------------------------------------------------------------------------------------------------------|------------------|
| `nids` | Numeric identifiers of the notifications in order to get more information via the [OCS API](ocs-endpoint-v2.md) | `object-data` |
| `delete-multiple` | Delete all notifications related to `nids` | `delete` |

#### Silent delete notification (all)

These notifications should not be shown to the user. Instead you should delete all pending system notifications for this account
Expand Down

0 comments on commit 127ce4d

Please sign in to comment.