Merge pull request #6552 from nextcloud/notifications-add-highlight-definition
Notifications: Add highlight type definition
This commit is contained in:
commit
0913bc2157
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue