Changes for page REST API

Last modified by Thomas Mortagne on 2024/03/12

<
From version < 40.10 >
edited by tomce
on 2013/05/07
To version < 41.1 >
edited by Thomas Mortagne
on 2014/11/21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.tomce
1 +XWiki.ThomasMortagne
Content
... ... @@ -289,7 +289,7 @@
289 289  ** **Status codes:**
290 290  *** 200: If the request was successful.
291 291  
292 -=== /wikis/{wikiName}/query?q~={query}&type~={hql,xwql,lucene}[&distinct~={true,false}]~~[&order~={asc,desc}][&start~=n][&number~=n][&prettyNames~={true,false}][&className~=className] ===
292 +=== /wikis/{wikiName}/query?q~={query}&type~={hql,xwql,lucene,solr}[&distinct~={true,false}]~~[&order~={asc,desc}][&start~=n][&number~=n][&prettyNames~={true,false}][&className~=className] ===
293 293  
294 294  * **HTTP Method:** GET
295 295  ** **Media types:**
XWiki.XWikiComments[6]
Comment
... ... @@ -1,3 +1,8 @@
1 -Based on the feature request in http://jira.xwiki.org/browse/XWIKI-9123#comment-74977 It is possible to fetch the XHTML content from URL such as http://platform.xwiki.org/xwiki/bin/get/Features/XWikiRESTfulAPI or via http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI?xpage=plain&outputSyntax=xhtml
1 +Based on the feature request at http://jira.xwiki.org/browse/XWIKI-9123#comment-74977 It is possible to fetch the XHTML content from URL such as
2 +http://platform.xwiki.org/xwiki/bin/get/Features/XWikiRESTfulAPI
3 +or via
4 +http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI?xpage=plain&outputSyntax=xhtml
5 +
2 2  This allows to render the XWiki HTML content in a third party system, while keeping the content management in XWiki.
7 +Perhaps this helps from manual translation of XWiki to HTML
3 3  
Date
... ... @@ -1,1 +1,1 @@
1 -2013-05-07 23:12:59.280
1 +2013-05-07 23:12:59.0

Get Connected