diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-11-07 20:34:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-07 20:34:05 +0100 |
commit | 0913bc2157293acafa186afec4018ad25d7fbb22 (patch) | |
tree | 07db80e5fd5df55a694691431a79a31bd384a538 /lib | |
parent | 19069f2b9c0aff5cf02f76856f34436690547c58 (diff) | |
parent | d517d63a4d7ba93ca9fc57d1f30fa6896ad26a9c (diff) | |
download | nextcloud-server-0913bc2157293acafa186afec4018ad25d7fbb22.tar.gz nextcloud-server-0913bc2157293acafa186afec4018ad25d7fbb22.zip |
Merge pull request #6552 from nextcloud/notifications-add-highlight-definition
Notifications: Add highlight type definition
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/RichObjectStrings/Definitions.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index 8ee3ad3bf3d..d1d636fe36b 100644 --- a/lib/public/RichObjectStrings/Definitions.php +++ b/lib/public/RichObjectStrings/Definitions.php @@ -256,6 +256,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', |