Changes for page REST API
Last modified by Thomas Mortagne on 2022/08/08
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -709,7 +709,7 @@ 709 709 710 710 == Object resources == 711 711 712 -=== /wikis/{wikiName}/spaces/{spaceName}[/spaces/{nestedSpaceName}]*/pages/{pageName}/objects[?start~=offset&number~=n &minorRevision~={true,false}] ===712 +=== /wikis/{wikiName}/spaces/{spaceName}[/spaces/{nestedSpaceName}]*/pages/{pageName}/objects[?start~=offset&number~=n] === 713 713 714 714 * **HTTP Method:** GET 715 715 ** **Media types:** ... ... @@ -728,8 +728,6 @@ 728 728 **** e.g. {{code language="none"}}className=XWiki.XWikiUsers&property#first_name=John&property#last_name=Doe{{/code}} 729 729 ** **Media types:** 730 730 *** application/xml (Object element) 731 -** **Query parameters** 732 -*** ##minorRevision## ({{info}}Since 9.11.4 & 10.2RC1{{/info}}): Create a minor revision for the page. Disabled by default. 733 733 ** **Description:** Create a new object. 734 734 ** **Status codes:** 735 735 *** 201: If the object was created (The Location header will contain the URI associated to the newly created object). ... ... @@ -745,7 +745,7 @@ 745 745 *** 200: If the request was successful. 746 746 *** 401: If the user is not authorized. 747 747 748 -=== /wikis/{wikiName}/spaces/{spaceName}[/spaces/{nestedSpaceName}]*/pages/{pageName}/objects/{className}/{objectNumber} === 746 +=== /wikis/{wikiName}/spaces/{spaceName}[/spaces/{nestedSpaceName}]*/pages/{pageName}/objects/{className}/{objectNumber}[?minorRevision~={true,false}] === 749 749 750 750 * **HTTP Method:** GET 751 751 ** **Media types:** ... ... @@ -763,6 +763,8 @@ 763 763 *** application/x-www-form-urlencoded (a set of property#name=value pairs representing properties) 764 764 ** **Media types:** 765 765 *** application/xml (Object element) 764 +** **Query parameters** 765 +*** ##minorRevision## ({{info}}Since 9.11.4 & 10.2RC1{{/info}}): Create a minor revision for the page. Disabled by default. 766 766 ** **Description:** Modify the object properties. 767 767 ** **Status codes:** 768 768 *** 202: If the object was updated.