Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-10-10 17:49:11 +0300
committerJoas Schilling <coding@schilljs.com>2016-10-10 17:49:11 +0300
commit728ad9c8b5e401e03d183c772fd795176a755aba (patch)
treece9150ad573ccd6f18fc547f77f3b7c3acc8a8cb /docs
parentbb713940afe0948b8b685ad0da1f731a653b0948 (diff)
Add icon support to the docs and the capabilities
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/ocs-endpoint-v1.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/ocs-endpoint-v1.md b/docs/ocs-endpoint-v1.md
index 8e059b4..65d97b2 100644
--- a/docs/ocs-endpoint-v1.md
+++ b/docs/ocs-endpoint-v1.md
@@ -16,7 +16,8 @@ In order to find out if notifications is installed/enabled on the server you can
"ocs-endpoints": [
"list",
"get",
- "delete"
+ "delete",
+ "icon-supported"
]
}
}
@@ -49,6 +50,7 @@ The user needs to be identified/logged in by the server. Then you can just run a
"subject": "You received admin@localhost as a remote share from test",
"message": "",
"link": "http://localhost/index.php/apps/files_sharing/pending",
+ "icon": "http://localhost/img/icon.svg",
"actions": [
{
"label": "Accept",
@@ -93,6 +95,7 @@ object_id | string | ID of the object the notification is about, that can be use
subject | string | Translated short subject that should be presented to the user
message | string | (Optional) Translated potentially longer message that should be presented to the user
link | string | (Optional) A link that should be followed when the subject/message is clicked
+icon | string | (Optional) A link to an icon that should be shown next to the notification. Only available when the `icon-supported` capability is set.
actions | array | (Optional) An array of action elements