Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/push-v2.md')
-rw-r--r--docs/push-v2.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/push-v2.md b/docs/push-v2.md
index e635c22..84aed3e 100644
--- a/docs/push-v2.md
+++ b/docs/push-v2.md
@@ -39,7 +39,7 @@ In order to find out if notifications support push on the server you can run a r
4. The device then sends the `devicePublicKey`, `PushTokenHash` and `proxyServerUrl` to the Nextcloud server:
```
- POST /ocs/v2.php/apps/notifications/api/v3/push
+ POST /ocs/v2.php/apps/notifications/api/v2/push
{
"pushTokenHash": "{{PushTokenHash}}",
@@ -97,7 +97,7 @@ When an account is removed from a device, the device should unregister on the se
The device should then send a `DELETE` request to the Nextcloud server:
```
-DELETE /ocs/v2.php/apps/notifications/api/v3/push
+DELETE /ocs/v2.php/apps/notifications/api/v2/push
```