[aerogear-dev] REST call -> device registration

Bruno Oliveira bruno at abstractj.org
Thu Nov 13 13:24:53 EST 2014


+1 on 2 alternatives
- Leave as is
- Return 200 with the message "Registration successfuly. Yay, grab a
  beer"

On 2014-11-13, Matthias Wessendorf wrote:
> 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

> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev


--

abstractj
PGP: 0x84DC9914


More information about the aerogear-dev mailing list