diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-09-18 14:01:35 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-10-03 15:38:15 +0200 |
commit | d517d63a4d7ba93ca9fc57d1f30fa6896ad26a9c (patch) | |
tree | fa40dd73c3ac6b3d613364f21f04880e44af222b /lib/public | |
parent | 42bd94261904574d807d9cf1917f6283b08287ac (diff) | |
download | nextcloud-server-d517d63a4d7ba93ca9fc57d1f30fa6896ad26a9c.tar.gz nextcloud-server-d517d63a4d7ba93ca9fc57d1f30fa6896ad26a9c.zip |
Notifications: Add highlight type definition
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public')
-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 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', |