From f02362e0298d5986d239a2137fd260fe5bf1b16b Mon Sep 17 00:00:00 2001 From: Jonas Rittershofer Date: Mon, 22 Feb 2021 23:21:39 +0100 Subject: [PATCH] Include RichObject for forms Ref. https://github.com/nextcloud/forms/pull/789 Signed-off-by: Jonas Rittershofer --- lib/public/RichObjectStrings/Definitions.php | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index 263913f27e..c59855e957 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',