Mailinglist Archive: opensuse-buildservice (314 mails)

< Previous Next >
Re: [opensuse-buildservice] osc features for next milestone
  • From: Cornelius Schumacher <cschum@xxxxxxx>
  • Date: Fri, 11 Jan 2008 13:54:39 +0100
  • Message-id: <200801111354.40412.cschum@xxxxxxx>
On Thursday 10 January 2008, Klaas Freitag wrote:

http://en.opensuse.org/Build_Service/Concepts/Requests

The search URLs are ambiguous:

GET /search/requests/<requesttype>/<username>
GET /search/requests/<requesttype>/<project>

I would add the username as a parameter, so you can do stuff like:

GET /search/requests/<requesttype>?username=<name>
GET /search/requests/<requesttype>/<project>?username=<name>

This could also be extended to use other search criteria.


For changing the request status, why is there a parameter needed when the data
is written with PUT anyway? Or is it meant to be POST? What's the body then?


For deletion the natural way would be to use HTTP DELETE, but this would
imply, that the request is actually deleted. Only marking it as deleted keeps
it around. Do we really need that?

--
Cornelius Schumacher <cschum@xxxxxxx>
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >