summaryrefslogtreecommitdiffstats
path: root/lib/public/RichObjectStrings
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/RichObjectStrings')
-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 b938fa5e6cb..ca41c4d806d 100644
--- a/lib/public/RichObjectStrings/Definitions.php
+++ b/lib/public/RichObjectStrings/Definitions.php
@@ -252,6 +252,31 @@ class Definitions {
],
],
],
+ 'highlight' => [
+ 'author' => 'Nextcloud',
+ 'app' => 'core',
+ 'since' => '13.0.0',
+ 'parameters' => [
+ 'id' => [
+ 'since' => '13.0.0',
+ 'required' => true,
+ 'description' => 'The id used to identify the highlighted object on the instance',
+ 'example' => '42',
+ ],
+ 'name' => [
+ 'since' => '13.0.0',
+ 'required' => true,
+ 'description' => 'The string that should be highlighted.',
+ 'example' => 'Hello World',
+ ],
+ 'link' => [
+ 'since' => '13.0.0',
+ 'required' => false,
+ 'description' => 'The full URL that should be opened when clicking the highlighted text.',
+ 'example' => 'http://localhost/index.php/f/42',
+ ],
+ ],
+ ],
'open-graph' => [
'author' => 'Maxence Lange',
'app' => 'mood',