Here is the REST API for "Push App" (+mobile app) registrations:<div><br></div><div><a href="https://gist.github.com/matzew/2da6fc349a4aaf629bce">https://gist.github.com/matzew/2da6fc349a4aaf629bce</a></div><div>
<br></div><div><br></div><div>Questions:</div><div><br></div><div>The post to "/applications/das231432qwdsa2/iOS" and/or "/applications/das231432qwdsa2/android" are different (payload-wise)....</div><div>
<br></div><div>Not sure if that is best solution.... However, we need to differentiate between different "mobile os variants" anyways....</div><div><br></div><div>My (CURRENT) feelings is that a different "endpoint" is better instead of an ugly, large - but generic - API that does everything, and the server figures out what type of mobile app has been registered ...</div>
<div><br></div><div><br></div><div>NEXT: Device Registrations + Sender Endpoints</div><div><br></div><div>(Followed by "management" (get, put, delete.....)</div><div><br></div><div> </div><div>Greetings,</div><div>
Matthias</div><div><br></div><div><br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 4:45 PM, Matthias Wessendorf <span dir="ltr"><<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:20px">Hello,</span></font><div>
<font face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:20px"><br>
</span></font></div><div><font face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:20px">here is the 'overview' section of the Unified push....:<br></span></font><div><font face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:20px"><br>
</span></font></div><div><font face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:20px"><br></span></font><h1 style="font-size:28px;margin:0px 0px 10px;padding:0px;font-family:Helvetica,arial,freesans,clean,sans-serif">
AeroGear Unified Push (DRAFT 0.0.2)</h1><p style="margin:0px 0px 15px;font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.63636302947998px;line-height:20px">This is an <em>early</em> version of a 'spec' for the AeroGear Unified Push server.</p>
<h2 style="margin:20px 0px 10px;padding:0px;font-size:24px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204,204,204);font-family:Helvetica,arial,freesans,clean,sans-serif"><a name="13d83534f6ebf0be_overview" href="https://gist.github.com/matzew/ec5c3c2dfa955c58c328#overview" style="color:rgb(65,131,196);text-decoration:none;display:block;padding-left:30px" target="_blank"></a>Overview</h2>
<p style="margin:0px 0px 15px;font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.63636302947998px;line-height:20px">The <em>Unified Push</em> solution contains the following components:</p><ul style="margin:15px 0px;padding:0px 0px 0px 30px;font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.63636302947998px;line-height:20px">
<li>Native Push Component: <em style="margin-top:0px">sends native push message to registered apps</em></li><li>Web Push Component: <em style="margin-top:0px">sends web push message to online client (e.g. WebSocket/SockJS clients)</em></li>
<li>Client SDK API<ul style="margin:0px;padding:0px 0px 0px 30px"><li>Native Push Client for iOS</li><li>Native Push Client for Android</li><li>Web Push Client for JavaScript</li></ul></li></ul><p style="margin-top:15px;margin-right:0px;margin-left:0px;font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.63636302947998px;line-height:20px;margin-bottom:0px!important">
Details are discussed on the each of the different components</p><p style="margin-top:15px;margin-right:0px;margin-left:0px;font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.63636302947998px;line-height:20px;margin-bottom:0px!important">
<br></p><p style="margin-top:15px;margin-right:0px;margin-left:0px;font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.63636302947998px;line-height:20px;margin-bottom:0px!important">NOTE: LINK need to be enabled :) :)</p>
<p style="margin-top:15px;margin-right:0px;margin-left:0px;font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.63636302947998px;line-height:20px;margin-bottom:0px!important">HOWEVER.......</p><p style="margin-top:15px;margin-right:0px;margin-left:0px;margin-bottom:0px!important">
<font face="Helvetica, arial, freesans, clean, sans-serif"><span style="line-height:20px">Here is what I'd like to add to the home page for the native push component - based on last weeks </span></font><font face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:20px">discussion</span></font><font face="Helvetica, arial, freesans, clean, sans-serif"><span style="line-height:20px">:</span></font></p>
<p style="margin-top:15px;margin-right:0px;margin-left:0px;margin-bottom:0px!important"><font face="Helvetica, arial, freesans, clean, sans-serif"><span style="font-size:14px;line-height:20px"><a href="https://gist.github.com/matzew/69d33a18d4fac9fdedd4" target="_blank">https://gist.github.com/matzew/69d33a18d4fac9fdedd4</a></span></font></p>
<p style="margin-top:15px;margin-right:0px;margin-left:0px;font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.63636302947998px;line-height:20px;margin-bottom:0px!important">PLEASE comment on the gist....</p>
<span class="HOEnZb"><font color="#888888">
<p style="margin-top:15px;margin-right:0px;margin-left:0px;font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.63636302947998px;line-height:20px;margin-bottom:0px!important"><br></p><p style="margin-top:15px;margin-right:0px;margin-left:0px;font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.63636302947998px;line-height:20px;margin-bottom:0px!important">
<br></p><p style="margin-top:15px;margin-right:0px;margin-left:0px;font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13.63636302947998px;line-height:20px;margin-bottom:0px!important"><br></p><br>-- <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><br>
</font></span></div></div>
</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>