Changes for page REST API

Last modified by Thomas Mortagne on 2024/03/12

<
From version < 59.3 >
edited by Ecaterina Moraru (Valica)
on 2015/11/10
To version < 61.1 >
edited by Guillaume Delhumeau
on 2016/05/09
>
Change comment: Adding an example for the "create object" API.

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.evalica
1 +XWiki.gdelhumeau
Content
... ... @@ -368,7 +368,7 @@
368 368  ** **Accepted Media types:**
369 369  *** application/xml (Page element)
370 370  *** text/plain (Only page content)
371 -*** application/x-www-form-urlencoded (allowed field names: title, parent, hidden {{info}}Since 7.3{{/info}}, content)
371 +*** application/x-www-form-urlencoded (allowed field names: title, parent, hidden //[since 7.3]//, content)
372 372  ** **Media types:**
373 373  *** application/xml (Page element)
374 374  ** **Description:** Create or updates a page.
... ... @@ -718,6 +718,7 @@
718 718  ** **Accepted media types:**
719 719  *** application/xml (Object element)
720 720  *** application/x-www-form-urlencoded (a set of property#name=value pairs representing properties and a field className)
721 +**** e.g. {{code language="none"}}className=XWiki.XWikiUsers&property#first_name=John&property#last_name=Doe{{/code}}
721 721  ** **Media types:**
722 722  *** application/xml (Object element)
723 723  ** **Description:** Create a new object.

Get Connected