Notifications: Add highlight type definition

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2017-09-18 14:01:35 +02:00
parent 42bd942619
commit d517d63a4d
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 25 additions and 0 deletions

View File

@ -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',