Re: [xwiki-devs] [vote] improvements for the REST api

2012-08-18 Thread sasinda rukshan
Hi, What about adding meta data like comments xmlns=http://www.xwiki.org; size='10' ids='0:5,7:10' (size means num comments. ids='0:5 , 7:10' means that comment with id 6 was deleted.) for elements containing a collection. i.e comments, objects , etc. Thomas and I discussed about lazy fetching

Re: [xwiki-devs] [vote] improvements for the REST api

2012-08-12 Thread sasinda rukshan
Hi Ludovic, As you are doing some improvements, I think the editing and deleting of comments as first class entities does not work. PUT : http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Blog/pages/test/* comments/0* DELETE*: *

Re: [xwiki-devs] [vote] improvements for the REST api

2012-07-22 Thread Ludovic Dubost
Hi, New vote for the current pull request which takes into account Thomas comments https://github.com/xwiki/xwiki-platform/pull/56 The following things are implemented: VOTE to accept supporting start and order parameters only on queries having only one unique scope VOTE in search queries for

Re: [xwiki-devs] [vote] improvements for the REST api

2012-06-26 Thread Thomas Mortagne
On Mon, Jun 25, 2012 at 7:46 PM, Ludovic Dubost ludo...@xwiki.com wrote: While working on a prototype on a HTML5 mobile and desktop application I've hit a few limitations of the REST APIs. This is why I propose some enhancements to the current REST APIs to give more flexibility, particularly:

Re: [xwiki-devs] [vote] improvements for the REST api

2012-06-26 Thread Ludovic Dubost
2012/6/26 Thomas Mortagne thomas.morta...@xwiki.com: On Mon, Jun 25, 2012 at 7:46 PM, Ludovic Dubost ludo...@xwiki.com wrote: While working on a prototype on a HTML5 mobile and desktop application I've hit a few limitations of the REST APIs. This is why I propose some enhancements to the

Re: [xwiki-devs] [vote] improvements for the REST api

2012-06-26 Thread Thomas Mortagne
On Tue, Jun 26, 2012 at 10:55 AM, Ludovic Dubost ludo...@xwiki.com wrote: 2012/6/26 Thomas Mortagne thomas.morta...@xwiki.com: On Mon, Jun 25, 2012 at 7:46 PM, Ludovic Dubost ludo...@xwiki.com wrote: While working on a prototype on a HTML5 mobile and desktop application I've hit a few

[xwiki-devs] [vote] improvements for the REST api

2012-06-25 Thread Ludovic Dubost
While working on a prototype on a HTML5 mobile and desktop application I've hit a few limitations of the REST APIs. This is why I propose some enhancements to the current REST APIs to give more flexibility, particularly: Support for start and order parameter in queries returning large list of

Re: [xwiki-devs] [vote] improvements for the REST api

2012-06-25 Thread sasinda rukshan
Hi Ludovic, It's an interesting proposal. My +1 for , **VOTE for supporting the searchQuery API at the wiki level with multi wiki support at the lucene level. https://github.com/xwiki-contrib/android-client/blob/p2/xwiki-android-core/src/org/xwiki/android/ral/RAO.java I had already added a