+100 !

* Type=remove is exactly DELETE and we should do it
* type=add is just PUT or POST
* type=set likewise is just PUT or POST
* type=unset is exactly DELETE

So, please use those.

Regards
Felix


> Am 26.01.2015 um 10:00 schrieb Lukas Kahwe Smith <sm...@pooteeweet.org>:
> 
> 
>> On 26 Jan 2015, at 09:55, Francesco Mari <mari.france...@gmail.com> wrote:
>> 
>> I think a multi-tree read request could be a good improvement to the
>> API. Technically speaking, it may be though as a generalization of the
>> "Read tree" operation.
> 
> can you elaborate why you are using an RPC style protocol, rather something 
> more along the lines of REST.
> 
> for example:
> {
>  "type": "remove",
>  "path": "/a/b/c"
> }
> 
> could just be a DELETE on /a/b/c
> 
> regards,
> Lukas Kahwe Smith
> sm...@pooteeweet.org
> 
> 
> 

Reply via email to