<
From version < 68.1 >
edited by Thomas Mortagne
on 2017/08/18
To version < 70.1 >
edited by Vincent Massol
on 2017/09/06
>
Change comment: Copied from platform:Features.XWikiRESTfulAPI

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.VincentMassol
Content
... ... @@ -300,7 +300,7 @@
300 300  ** **Status codes:**
301 301  *** 200: If the request was successful.
302 302  
303 -=== /wikimanager (This resource is only available when using XWiki Enterprise Manager) ===
303 +=== /wikimanager (This resource is only available when using the [[multi-wiki>>extensions:Extension.Wiki Application]] feature) ===
304 304  
305 305  * **HTTP Method:** POST
306 306  ** **Accepted Media types:**
XWiki.XWikiComments[3]
Comment
... ... @@ -1,9 +1,5 @@
1 1  In Eclipse, you can right click on an xsd file, like the xsd for the REST api [[described here>>XWikiRESTfulAPI#HXWikiRESTfulAPIDocumentation]], and choose "Generate->JAXB classes".
2 2  
3 3  Whatever package that you choose to generate them in, you would use in the
4 -{{code language="java"}}
5 -context = JAXBContext.newInstance("org");
6 -{{/code}}
4 +{{code language="java"}}context = JAXBContext.newInstance("org");{{/code}}
7 7   In the examples I gave, I just generated them under a package called "org", mostly due to extreme laziness. So I ended up with org.Page, org.ObjectFactory, org.Space and so on.
8 -
9 -
XWiki.XWikiComments[6]
Comment
... ... @@ -5,4 +5,3 @@
5 5  
6 6  This allows to render the XWiki HTML content in a third party system, while keeping the content management in XWiki.
7 7  Perhaps this helps from manual translation of XWiki to HTML
8 -

Get Connected