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:
authorJoas Schilling <coding@schilljs.com>2017-01-26 14:34:18 +0300
committerJoas Schilling <coding@schilljs.com>2017-03-29 11:59:16 +0300
commitb4cc0aada05a8cf95e4927949fcd90d27ced2bc0 (patch)
tree4fad19fcb32d33add4ee1475a7e5e31253986de6 /appinfo
parent08ea5ffff4485478a85b363c8eb4ced987481c6b (diff)
encode the signature before sending
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index a79e4c8..4f16200 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -24,7 +24,7 @@ return [
['name' => 'Endpoint#listNotifications', 'url' => '/api/{apiVersion}/notifications', 'verb' => 'GET', 'requirements' => ['apiVersion' => 'v(1|2)']],
['name' => 'Endpoint#getNotification', 'url' => '/api/{apiVersion}/notifications/{id}', 'verb' => 'GET', 'requirements' => ['apiVersion' => 'v(1|2)', 'id' => '\d+']],
['name' => 'Endpoint#deleteNotification', 'url' => '/api/{apiVersion}/notifications/{id}', 'verb' => 'DELETE', 'requirements' => ['apiVersion' => 'v(1|2)', 'id' => '\d+']],
- ['name' => 'Push#registerDevice', 'url' => '/api/3/push', 'verb' => 'POST'],
- ['name' => 'Push#removeDevice', 'url' => '/api/3/push', 'verb' => 'DELETE'],
+ ['name' => 'Push#registerDevice', 'url' => '/api/v3/push', 'verb' => 'POST'],
+ ['name' => 'Push#removeDevice', 'url' => '/api/v3/push', 'verb' => 'DELETE'],
],
];