diff options
author | Ivan Sein <ivan@struktur.de> | 2018-04-04 11:30:51 +0300 |
---|---|---|
committer | Ivan Sein <ivan@struktur.de> | 2018-04-04 11:30:51 +0300 |
commit | 0c963c227bc8247f337d820806460522ba2dede9 (patch) | |
tree | db9d302f9ef4d265a5110686541a50742fb43fd3 /appinfo/routes.php | |
parent | 34b52f852c24420499ee7a8434bd7f724d87f42b (diff) |
Change endpoints to /{token}/messages.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 3be7b8876..de97b6061 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -51,7 +51,7 @@ return [ ], [ 'name' => 'Signaling#signaling', - 'url' => '/api/{apiVersion}/signaling/messages/{token}', + 'url' => '/api/{apiVersion}/signaling/{token}/messages', 'verb' => 'POST', 'requirements' => [ 'apiVersion' => 'v1', @@ -60,7 +60,7 @@ return [ ], [ 'name' => 'Signaling#pullMessages', - 'url' => '/api/{apiVersion}/signaling/messages/{token}', + 'url' => '/api/{apiVersion}/signaling/{token}/messages', 'verb' => 'GET', 'requirements' => [ 'apiVersion' => 'v1', |