Update content/en/api/rest/notifications.md
This commit is contained in:
parent
09004146f5
commit
38f8e77a91
|
@ -39,15 +39,7 @@ 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
|
||||
|
||||
Delete all notifications 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/:id/dismiss
|
||||
|
||||
Delete a single notification from the server.
|
||||
|
||||
|
@ -55,11 +47,13 @@ Delete a single notification from the server.
|
|||
|
||||
{{< api_method_info auth="Yes" user="Yes" scope="write write:notifications" version="0.0.0" >}}
|
||||
|
||||
### Parameters
|
||||
## POST /api/v1/notifications/clear
|
||||
|
||||
|Name|Description|Required|
|
||||
|----|-----------|:------:|
|
||||
| `id` | Notification ID | Required |
|
||||
Delete all notifications from the server.
|
||||
|
||||
### Resource information
|
||||
|
||||
{{< api_method_info auth="Yes" user="Yes" scope="write write:notifications" version="0.0.0" >}}
|
||||
|
||||
## POST /api/v1/push/subscription
|
||||
|
||||
|
|
Loading…
Reference in New Issue