summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJonas Rittershofer <jotoeri@users.noreply.github.com>2021-02-22 23:21:39 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-03-02 09:59:10 +0000
commit41930265e93942d427c9d25424af35de8f6c87b5 (patch)
tree2bd25ef0ad132b333060086dac889fb7ecab94b4 /lib/public
parent097bdf973e73a42816ff0fb6894bd56b27ac7dab (diff)
downloadnextcloud-server-41930265e93942d427c9d25424af35de8f6c87b5.tar.gz
nextcloud-server-41930265e93942d427c9d25424af35de8f6c87b5.zip
Include RichObject for forms
Ref. https://github.com/nextcloud/forms/pull/789 Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/RichObjectStrings/Definitions.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php
index 263913f27e1..c59855e957b 100644
--- a/lib/public/RichObjectStrings/Definitions.php
+++ b/lib/public/RichObjectStrings/Definitions.php
@@ -349,6 +349,31 @@ class Definitions {
],
],
],
+ 'forms-form' => [
+ 'author' => 'Nextcloud',
+ 'app' => 'forms',
+ 'since' => '21.0.1',
+ 'parameters' => [
+ 'id' => [
+ 'since' => '21.0.1',
+ 'required' => true,
+ 'description' => 'The form-hash of the form',
+ 'example' => 'q72GGqbfbLBC6xNB',
+ ],
+ 'name' => [
+ 'since' => '21.0.1',
+ 'required' => true,
+ 'description' => 'The title of the form',
+ 'example' => 'Nice Form',
+ ],
+ 'link' => [
+ 'since' => '21.0.1',
+ 'required' => true,
+ 'description' => 'The full URL to the board',
+ 'example' => 'http://localhost/index.php/apps/forms/q72GGqbfbLBC6xNB',
+ ],
+ ],
+ ],
'guest' => [
'author' => 'Nextcloud',
'app' => 'spreed',