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>2022-03-26 15:18:29 +0300
committerdartcafe <github@dartcafe.de>2022-03-26 15:18:29 +0300
commit841499f61b641c4871d7c1511d79f2d655485dca (patch)
treeff68602ea7ddba38ea9a0de2c874d72162f47aa3 /appinfo/routes.php
parentfd202cd57de7b882d3ac3187bd9670de55df928a (diff)
add bulk import for text polls
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 81edfceb..b620c85e 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -69,6 +69,7 @@ return [
['name' => 'option#list', 'url' => '/poll/{pollId}/options', 'verb' => 'GET'],
['name' => 'option#add', 'url' => '/option', 'verb' => 'POST'],
+ ['name' => 'option#addBulk', 'url' => '/option/bulk', 'verb' => 'POST'],
['name' => 'option#update', 'url' => '/option/{optionId}', 'verb' => 'PUT'],
['name' => 'option#delete', 'url' => '/option/{optionId}', 'verb' => 'DELETE'],