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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-07-13 17:56:03 +0300
committerJoas Schilling <coding@schilljs.com>2017-07-13 17:56:03 +0300
commit3648dfa13304a4bffea95b2da27d40aaf709883d (patch)
treed174358eb6140a95854f086489f8aca6a821126b /appinfo
parent6b73c1da675100fed646161398aac088e78c9f5a (diff)
Use POST to update the ping
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 9c923598c..79e71cbeb 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -65,8 +65,8 @@ return [
],
[
'name' => 'Call#pingCall',
- 'url' => '/api/{apiVersion}/call/{token}',
- 'verb' => 'PUT',
+ 'url' => '/api/{apiVersion}/call/{token}/ping',
+ 'verb' => 'POST',
'requirements' => [
'apiVersion' => 'v1',
'token' => '^[a-z0-9]{4,30}$',