RefactoringRESTXML

Last modified by Thomas Mortagne on 2022/08/08 11:05

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<jobRequest xmlns="http://www.xwiki.org">
   <id>
       <element>refactoring</element>
       <element>move</element>
       <element>1714149746556-912</element>
   </id>
   <interactive>false</interactive>
   <remote>false</remote>
   <verbose>true</verbose>
   <property>
       <key>updateLinks</key>
       <value>
           <boolean xmlns="" xmlns:ns2="http://www.xwiki.org">true</boolean>
       </value>
   </property>
   <property>
       <key>job.type</key>
       <value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">refactoring/move</value>
   </property>
   <property>
       <key>destination</key>
       <value>
           <org.xwiki.model.reference.SpaceReference xmlns="" xmlns:ns2="http://www.xwiki.org">
               <name>MyPageNewName</name>
               <parent class="org.xwiki.model.reference.SpaceReference">
                   <name>MyPageNewLocaltion</name>
                   <parent class="org.xwiki.model.reference.WikiReference">
                       <name>xwiki</name>
                       <type>WIKI</type>
                   </parent>
                   <type>SPACE</type>
               </parent>
               <type>SPACE</type>
           </org.xwiki.model.reference.SpaceReference>
       </value>
   </property>
   <property>
       <key>updateParentField</key>
       <value>
           <boolean xmlns="" xmlns:ns2="http://www.xwiki.org">true</boolean>
       </value>
   </property>
   <property>
       <key>autoRedirect</key>
       <value>
           <boolean xmlns="" xmlns:ns2="http://www.xwiki.org">true</boolean>
       </value>
   </property>
   <property>
       <key>entityReferences</key>
       <value>
           <java.util.Arrays_-ArrayList xmlns="" xmlns:ns2="http://www.xwiki.org">
               <a class="org.xwiki.model.reference.EntityReference-array">
                   <org.xwiki.model.reference.SpaceReference>
                       <name>MyPage</name>
                       <parent class="org.xwiki.model.reference.SpaceReference">
                           <name>MyParentPage</name>
                           <parent class="org.xwiki.model.reference.WikiReference">
                               <name>xwiki</name>
                               <type>WIKI</type>
                           </parent>
                           <type>SPACE</type>
                       </parent>
                       <type>SPACE</type>
                   </org.xwiki.model.reference.SpaceReference>
               </a>
           </java.util.Arrays_-ArrayList>
       </value>
   </property>
</jobRequest>