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

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-08-07 23:47:10 +0300
committerdartcafe <github@dartcafe.de>2020-08-07 23:47:10 +0300
commitdad6b97a38348f620d20e5d20108a628269645ee (patch)
treec93f41df133cf0e6ac9f67557e05b065fe57f46e /appinfo
parentdb579c72b6315944e6e6b2170acc17f973f8e7f8 (diff)
public subscription for shares with mail address
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index a2b38130..a2ba77ad 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -60,7 +60,8 @@ return [
['name' => 'share#delete', 'url' => '/share/delete/{token}', 'verb' => 'DELETE'],
['name' => 'share#sendInvitation', 'url' => '/share/send/{token}', 'verb' => 'POST'],
- ['name' => 'subscription#get', 'url' => '/subscription/{pollId}', 'verb' => 'GET'],
+ ['name' => 'subscription#get', 'url' => '/subscription/{pollId}', 'verb' => 'GET', 'postfix' => 'auth'],
+ ['name' => 'subscription#get', 'url' => '/subscription/s/{token}', 'verb' => 'GET', 'postfix' => 'public'],
['name' => 'subscription#set', 'url' => '/subscription', 'verb' => 'POST'],
['name' => 'comment#add', 'url' => '/comment', 'verb' => 'POST'],