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 of Documents using a RestClient. Those meta data can greatly help in such a situation.
Also I noted in XWiki version 3.5.1 that retrieving objects in page history versions does not work. They give the same thing for every version. Am I right?. Best Regards. Sasinda. On Sun, Aug 12, 2012 at 4:03 PM, sasinda rukshan <[email protected]>wrote: > 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*: * > http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Blog/pages/test/* > comments/0* > * > * > You can do it by updating/deleting the XWiki.XWikiComments objects though. > > Regards, > Sasinda. > > On Sun, Jul 22, 2012 at 12:22 PM, Ludovic Dubost <[email protected]>wrote: > >> 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 just adding the descendent date order or >> add more order possibilities using order and orderdir param >> VOTE in page list queries for just adding the descendent date order or >> add more order possibilities using order and orderdir param >> >> Only the descendent date has been added for now >> >> VOTE to add page version and author fields to page and other resources >> >> This has been implemented >> >> VOTE for adding the display user names when the parameter >> "prettynames=true" is added >> >> VOTE to add the displayTitle field with or without the pagedetails=1 >> parameter or with it's own parameter displayTitle=1 >> >> This has been done without parameter as it does not seem necessary to >> have a parameter >> >> VOTE for supporting the searchQuery API at the wiki level with multi >> wiki support at the lucene level >> >> This has been done >> >> >> Note done at this point: >> >> VOTE for adding a parameter to show/hide hidden documents independent >> of user setting >> >> VOTE for adding rendered content using the withrenderedcontent=1 param >> >> VOTE for having absolute URLs in the rendered content using >> withabsoluteurls=1 param >> >> Most important >> >> VOTE Can I commit the current branch ? >> >> Ludovic >> >> 2012/6/25 Ludovic Dubost <[email protected]>: >> > 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 pages >> > Support order parameter in page list >> > Adding page version, author information and data information when >> missing >> > Hidden documents filter activation or deactivation in REST APIs >> > Adding pretty display of title and author names >> > Support queries using XWQL, HQL and Lucene >> > The rendered content should be accessible from REST apis >> > >> > The details of the proposal is here: >> > >> > http://dev.xwiki.org/xwiki/bin/view/Design/RESTApiImprovements >> > >> > >> > A pull request for a prototype implementation of these requirements is >> > available here: >> > >> > https://github.com/xwiki/xwiki-platform/pull/56/files#r1040052 >> > >> > Not everything has an implementation (hidden docs and rendered content >> > is not implemented yet). Other are not implementing according to this >> > specification as some comments have already been made. >> > >> > Particularly the following votes are required: >> > >> > VOTE to accept supporting "start" and "order" parameters only on >> > queries having only one unique scope >> > VOTE in search queries for just adding the descendent date order or >> > add more order possibilities using order and orderdir param >> > VOTE in page list queries for just adding the descendent date order or >> > add more order possibilities using order and orderdir param >> > VOTE to add page version and author fields to page and other resources >> > VOTE for adding the additional fields with or without a parameter >> > "pagedetails=1" >> > VOTE for adding a parameter to show/hide hidden documents independent >> > of user setting >> > VOTE to add the displayTitle field with or without the pagedetails=1 >> > parameter or with it's own parameter displayTitle=1 >> > VOTE to add the author display names with or without the >> > displayPrettyNames parameter >> > VOTE for supporting the searchQuery API at the wiki level with multi >> > wiki support at the lucene level >> > VOTE for adding rendered content using the withrenderedcontent=1 param >> > VOTE for having absolute URLs in the rendered content using >> > withabsoluteurls=1 param >> > >> > >> > Thanks >> > Ludovic >> > >> > -- >> > Ludovic Dubost >> > Founder and CEO >> > Blog: http://blog.ludovic.org/ >> > XWiki: http://www.xwiki.com >> > Skype: ldubost GTalk: ldubost >> >> >> >> -- >> Ludovic Dubost >> Founder and CEO >> Blog: http://blog.ludovic.org/ >> XWiki: http://www.xwiki.com >> Skype: ldubost GTalk: ldubost >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs >> > > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

