Mark All Notifications Read
read_all_notificationsMark every current-user notification as read. Check the returned status to confirm whether the server applied the change.
Instructions
Ask AFFiNE to mark every current-user notification as read. Inspect applied/status in the response; a false server result is reported as not_applied, not as success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| error | No | ||
| details | No | ||
| message | No | ||
| success | No | ||
| retryable | No |