Duncan Mac-Vicar P. wrote:
> On Friday 18 September 2009 11:23:17 Klaus Kaempf wrote:
>> * J. Daniel Schmidt <[email protected]> [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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to