[aerogear-dev] Updated Sender API

Matthias Wessendorf matzew at apache.org
Tue Oct 8 11:30:06 EDT 2013


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 at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20131008/8522ad67/attachment-0001.html 


More information about the aerogear-dev mailing list