Notifications: Add highlight type definition
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
42bd942619
commit
d517d63a4d
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue