<div dir="ltr">it&#39;s this signature:<div><br></div><div>*criterias</div><div>* message</div><div>*simple-psuh  (separate object)</div><div><br></div><div><br></div><div>the &quot;first one&quot; was just for broadcast</div>
<div><br></div><div>-M</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 8, 2013 at 4:48 PM, Lucas Holmquist <span dir="ltr">&lt;<a href="mailto:lholmqui@redhat.com" target="_blank">lholmqui@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>i know the api specs on the website haven&#39;t been updated yet,  but i&#39;m trying to update the node sender client and i&#39;m not seeing how to send a simple push &quot;message&quot; without specifying &quot;simple-push&quot; as an Object.</div>
<div><br></div><div>basically the first example doesn&#39;t seem to work for simplePush anymore</div><div><br></div><div>I&#39;m not sure if  this was overlooked when updating the UPS?  </div><div><br></div><div><br></div>
<div><pre style="line-height:16px;width:744px;font-size:12px;margin-bottom:0px;font-family:Consolas,&#39;Liberation Mono&#39;,Courier,monospace;margin-top:0px;padding:0px"><div><span style="color:rgb(153,153,136);font-style:italic">//No criteria,  just a normal send( what use to be broadcast )</span></div>
<div> </div><div><span>{</span></div><div>    <span>message</span><span style="font-weight:bold">:</span> <span>{</span></div><div>        <span>alert</span><span style="font-weight:bold">:</span> <span style="color:rgb(221,17,68)">&quot;...&quot;</span><span>,</span></div>
<div>        <span>sound</span><span style="font-weight:bold">:</span> <span style="color:rgb(221,17,68)">&quot;...&quot;</span><span>,</span></div><div>        <span>badge</span><span style="font-weight:bold">:</span> <span style="color:rgb(221,17,68)">&quot;...&quot;</span><span>,</span></div>
<div>        <span style="color:rgb(221,17,68)">&quot;simple-push&quot;</span><span style="font-weight:bold">:</span> <span style="color:rgb(221,17,68)">&quot;version=123&quot;</span></div><div>    <span>}</span></div><div>
<span>}</span></div><div> </div><div> </div><div><span style="color:rgb(153,153,136);font-style:italic">//With Criteria</span></div><div> </div><div><span>{</span></div><div>    <span>variants</span><span style="font-weight:bold">:</span> <span>[...,</span> <span>...],</span></div>
<div>    <span>deviceType</span><span style="font-weight:bold">:</span> <span>[...,</span> <span>...]</span></div><div>    <span>message</span><span style="font-weight:bold">:</span> <span>{</span></div><div>        <span>alert</span><span style="font-weight:bold">:</span> <span style="color:rgb(221,17,68)">&quot;...&quot;</span><span>,</span></div>
<div>        <span>sound</span><span style="font-weight:bold">:</span> <span style="color:rgb(221,17,68)">&quot;...&quot;</span><span>,</span></div><div>        <span>badge</span><span style="font-weight:bold">:</span> <span style="color:rgb(221,17,68)">&quot;...&quot;</span><span>,</span></div>
<div>        <span style="color:rgb(221,17,68)">&quot;simple-push&quot;</span><span style="font-weight:bold">:</span> <span style="color:rgb(221,17,68)">&quot;version=123&quot;</span></div><div>    <span>},</span></div><div>
    <span style="color:rgb(221,17,68)">&quot;simple-push&quot;</span><span style="font-weight:bold">:</span> <span>{</span></div><div>        <span style="color:rgb(221,17,68)">&quot;someCategory&quot;</span><span style="font-weight:bold">:</span> <span style="color:rgb(221,17,68)">&quot;....&quot;</span></div>
<div>    <span>}</span></div><div><span>}</span></div></pre><div><br></div></div></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>