Nextcloud's Form app has an API which allows the automatic creation of Forms/Questions/Options. I'm trying to create a new option for a question using this API: .md#create-a-new-option Using this payload:
optionTexts": ["A new Option."]
Nextcloud always fails with this error:
OCA\Forms\Controller\ApiController::newOption(): Argument #3 ($optionTexts) must be of type array, null given, called in /snap/nextcloud/45124/htdocs/lib/private/AppFramework/Http/Dispatcher.php on line 208 in file '/var/snap/nextcloud/45124/nextcloud/extra-apps/forms/lib/Controller/ApiController.php' line 741
How can I set the correct type array
?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742395904a4435937.html
评论列表(0条)