Mailinglist Archive: yast-devel (163 mails)

< Previous Next >
Re: [yast-devel] Registration Rest Api
  • From: "Duncan Mac-Vicar P." <dmacvicar@xxxxxxx>
  • Date: Mon, 21 Sep 2009 00:03:28 +0200
  • Message-id: <200909210003.28332.dmacvicar@xxxxxxx>
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.


To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >