<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 13, 2014, at 10:21 AM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org" class="">matzew@apache.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">atm the device registration (unfortunately?) returns the object (installation). However, (fortunately?) this is not really documented:</div><div class=""><a href="http://aerogear.org/docs/specs/aerogear-unifiedpush-rest/registry/device/index.html" class="">http://aerogear.org/docs/specs/aerogear-unifiedpush-rest/registry/device/index.html</a></div><div class=""><br class=""></div><div class="">we just say returns 200 :)</div><div class=""><br class=""></div><div class="">I'd like to ask, if we should NOT return the entity, and simply return "200" - with "registered/updated"?&nbsp;</div><div class=""><br class=""></div><div class="">Another option would be 204, but that's a problematic API change.... since we change the status code.</div><div class=""><br class=""></div><div class="">Or should we leave all as is .... &nbsp;not sure ... that's why I am asking&nbsp;</div></div></div></blockquote><div><br class=""></div><div>whats the potential problem that could exist if we leave it alone?</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Matthias<br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature">Matthias Wessendorf <br class=""><br class="">blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank" class="">http://matthiaswessendorf.wordpress.com/</a><br class="">sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank" class="">http://www.slideshare.net/mwessendorf</a><br class="">twitter: <a href="http://twitter.com/mwessendorf" target="_blank" class="">http://twitter.com/mwessendorf</a></div>
</div></div>
_______________________________________________<br class="">aerogear-dev mailing list<br class=""><a href="mailto:aerogear-dev@lists.jboss.org" class="">aerogear-dev@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/aerogear-dev</div></blockquote></div><br class=""></body></html>