]> source.dussan.org Git - nextcloud-server.git/commitdiff
Include RichObject for forms 25871/head
authorJonas Rittershofer <jotoeri@users.noreply.github.com>
Mon, 22 Feb 2021 22:21:39 +0000 (23:21 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Tue, 2 Mar 2021 09:59:10 +0000 (09:59 +0000)
Ref. https://github.com/nextcloud/forms/pull/789

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
lib/public/RichObjectStrings/Definitions.php

index 263913f27e15bf230e24e94a976da0eee367e192..c59855e957ba3075bbef09def849fb1135ff1dfb 100644 (file)
@@ -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',