diff options
author | Joas Schilling <coding@schilljs.com> | 2017-04-18 18:29:59 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-18 18:29:59 +0300 |
commit | 8ae1023e60ca188a12caf5b3abf51261a4332ad7 (patch) | |
tree | e6fd291741ea2a90303e5232e887f38444ce7982 /docs | |
parent | 475ad40e443a1be52fa05134cfabf75d1ac9a2b6 (diff) |
Fix routes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/push-v2.md | 4 |
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 ``` |