From 8ae1023e60ca188a12caf5b3abf51261a4332ad7 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 18 Apr 2017 17:29:59 +0200 Subject: Fix routes Signed-off-by: Joas Schilling --- docs/push-v2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/push-v2.md') 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 ``` -- cgit v1.2.3