here is the README section:

https://github.com/aerogear/aerogear-unifiedpush-server#sender


On Tue, Oct 8, 2013 at 5:00 PM, Matthias Wessendorf <matzew@apache.org> wrote:
it's this signature:

*criterias
* message
*simple-psuh  (separate object)


the "first one" was just for broadcast

-M


On Tue, Oct 8, 2013 at 4:48 PM, Lucas Holmquist <lholmqui@redhat.com> wrote:
i know the api specs on the website haven't been updated yet,  but i'm trying to update the node sender client and i'm not seeing how to send a simple push "message" without specifying "simple-push" as an Object.

basically the first example doesn't seem to work for simplePush anymore

I'm not sure if  this was overlooked when updating the UPS?  


//No criteria, just a normal send( what use to be broadcast )
 
{
message: {
alert: "...",
sound: "...",
badge: "...",
"simple-push": "version=123"
}
}
 
 
//With Criteria
 
{
variants: [..., ...],
deviceType: [..., ...]
message: {
alert: "...",
sound: "...",
badge: "...",
"simple-push": "version=123"
},
"simple-push": {
"someCategory": "...."
}
}


_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf