You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/05/01 17:05:15 UTC
[incubator-openwhisk-package-pushnotifications] branch master
updated: update docs parameter description formatting (#72)
This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-pushnotifications.git
The following commit(s) were added to refs/heads/master by this push:
new 6fcbb61 update docs parameter description formatting (#72)
6fcbb61 is described below
commit 6fcbb611b147a7a2a695dc88d9a9adaa8f868a82
Author: Carlos Santana <cs...@gmail.com>
AuthorDate: Mon May 1 13:05:12 2017 -0400
update docs parameter description formatting (#72)
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 3dbe7d1..92c7fc3 100644
--- a/README.md
+++ b/README.md
@@ -53,9 +53,9 @@ The `/whisk.system/pushnotifications/sendMessage` action sends push notification
- `text`: The notification message to be shown to the user. For example: `-p text "Hi ,OpenWhisk send a notification"`.
- `url`: An optional URL that can be sent along with the alert. For example: `-p url "https:\\www.w3.ibm.com"`.
-- `deviceIds` The list of specified devices. For example: `-p deviceIds ["deviceID1"]`.
+- `deviceIds` The list of specified devices. For example: `-p deviceIds "[\"deviceID1\"]"`.
- `platforms` Send notification to the devices of the specified platforms. 'A' for apple (iOS) devices and 'G' for google (Android) devices. For example `-p platforms ["A"]`.
-- `userIds` - Send notification to the devices of the specified users. For example: `-p userIds ["testUser"]`
+- `userIds` - Send notification to the devices of the specified users. For example: `-p userIds "[\"testUser\"]"`
- `tagNames` Send notification to the devices that have subscribed to any of these tags. For example `-p tagNames "[\"tag1\"]" `.
- `gcmCollapseKey`: This parameter identifies a group of messages
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].