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" >}}
|
{{< 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.
|
|
||||||
|
|
||||||
### Resource information
|
|
||||||
|
|
||||||
{{< api_method_info auth="Yes" user="Yes" scope="write write:notifications" version="0.0.0" >}}
|
|
||||||
|
|
||||||
## POST /api/v1/notifications/dismiss
|
|
||||||
|
|
||||||
Delete a single notification from the server.
|
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" >}}
|
{{< api_method_info auth="Yes" user="Yes" scope="write write:notifications" version="0.0.0" >}}
|
||||||
|
|
||||||
### Parameters
|
## POST /api/v1/notifications/clear
|
||||||
|
|
||||||
|Name|Description|Required|
|
Delete all notifications from the server.
|
||||||
|----|-----------|:------:|
|
|
||||||
| `id` | Notification ID | Required |
|
### Resource information
|
||||||
|
|
||||||
|
{{< api_method_info auth="Yes" user="Yes" scope="write write:notifications" version="0.0.0" >}}
|
||||||
|
|
||||||
## POST /api/v1/push/subscription
|
## POST /api/v1/push/subscription
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue