Hi,

currently when updating the network details, we do a PUT and srver returns 204 - not content, see:
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/jaxrs/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/applications/AndroidVariantEndpoint.java#L112-L142


I wonder if we should actually return the updated values as part of the the response  - this would mean we will be consistent to the endpoint to update the secret. There we do a PUT as well, but reasonably return the updated entity:
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/jaxrs/src/main/java/org/jboss/aerogear/unifiedpush/rest/registry/applications/AbstractVariantEndpoint.java#L61-L78

This means, it's also easier to actually integrate the entire REST APIs into other, larger systems.

Any thoughts?
-Matthias

--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf