Merge pull request #6552 from nextcloud/notifications-add-highlight-definition

Notifications: Add highlight type definition
This commit is contained in:
Morris Jobke 2017-11-07 20:34:05 +01:00 committed by GitHub
commit 0913bc2157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

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