[aerogear-dev] REST call -> device registration

Matthias Wessendorf matzew at apache.org
Thu Nov 13 10:21:19 EST 2014


Hi,

atm the device registration (unfortunately?) returns the object
(installation). However, (fortunately?) this is not really documented:
http://aerogear.org/docs/specs/aerogear-unifiedpush-rest/registry/device/index.html

we just say returns 200 :)

I'd like to ask, if we should NOT return the entity, and simply return
"200" - with "registered/updated"?

Another option would be 204, but that's a problematic API change.... since
we change the status code.

Or should we leave all as is ....  not sure ... that's why I am asking

Thanks,
Matthias

-- 
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/20141113/dea469f2/attachment-0001.html 


More information about the aerogear-dev mailing list