Commit 887ae4db authored by Eugen Rochko's avatar Eugen Rochko

Update content/en/api/rest/notifications.md

parent c3ab3a39
Pipeline #798 failed with stage
in 31 seconds
......@@ -39,28 +39,22 @@ Returns [Notification]({{< relref "entities.md#notification" >}})
{{< api_method_info auth="Yes" user="Yes" scope="read read:notifications" version="0.0.0" >}}
## POST /api/v1/notifications/clear
## POST /api/v1/notifications/:id/dismiss
Delete all notifications from the server.
Delete a single notification from the server.
### Resource information
{{< api_method_info auth="Yes" user="Yes" scope="write write:notifications" version="0.0.0" >}}
## POST /api/v1/notifications/dismiss
## POST /api/v1/notifications/clear
Delete a single notification from the server.
Delete all notifications from the server.
### Resource information
{{< api_method_info auth="Yes" user="Yes" scope="write write:notifications" version="0.0.0" >}}
### Parameters
|Name|Description|Required|
|----|-----------|:------:|
| `id` | Notification ID | Required |
## POST /api/v1/push/subscription
Add a Web Push API subscription to receive notifications. See also: [Web Push API]({{< relref "push.md" >}})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment