On Aug 12, 2011, at 12:00 AM, David Lutterkort wrote:

> On Wed, 2011-08-10 at 15:38 +0200, [email protected] wrote:
>> This patch will add possibility to add a 'new' operation for any collection.
>> This operation should provide the HTML form in HTML response type and 
>> XML/JSON
>> representation of form for other media types.
> 
> Nice. ACK. Pushed

Thanks!

> 
>> You are of course not limited just to 'new' action but you can also create
>> operation for any other 'form' actions (like 'new_rule' in firewalls or
>> 'new_blob') and provide usefull informations to clients about required
>> parameters.
> 
> If we want to go there, we should teach rabbit about nested collections

Yes, we should add this into backlog/release4 planning maybe.

The benefits of using Rabbit are auto generated documentation and parameter
validation. Also I personally don't like mixing Sinatra routes and the Rabbit
routes. Maybe we should separate them into two different files.   

  -- Michal

------------------------------------------------------
Michal Fojtik, [email protected]
Deltacloud API: http://deltacloud.org

Reply via email to