Mailinglist Archive: yast-devel (163 mails)

< Previous Next >
Re: [yast-devel] Registration Rest Api
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Mon, 21 Sep 2009 09:24:33 +0200
  • Message-id: <4AB72A31.8060505@xxxxxxx>
Duncan Mac-Vicar P. wrote:
On Friday 18 September 2009 11:23:17 Klaus Kaempf wrote:
* J. Daniel Schmidt <jdsn@xxxxxxx> [Sep 17. 2009 22:14]:
Run Registration:
---------------------------------

* /registration
As Josef already mentioned, you might want to rename this to
/registration/register. This way the url names the action ('register')
and also matches Rails controller/action pattern for urls.

Well Daniel is correct that a REST API should be a name and not a verb,
because a POST should "create a registration" and not "register", so the
right
thing would be to post to /somenamespace/registrations.

Or?

Duncan

I think we should have
registration/config for configuration
and registration/status for registry (update of status from
non-registered to registered is intuitive for me and it also can return
current status if user is registered or not).

--
Josef Reidinger
YaST team
maintainer of perl-Bootloader, YaST2-Repair, webyast modules language
and time
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups