I have a need to export over 500 spaces, and I just really don't want to do that via the UI.
The (admittedly deprecated) XMLRPC methods page claims the existence of a method
String exportSpace(String token, String spaceKey, String exportType, boolean exportAll)
The method with three String arguments works fine, but when I add the exportAll parameter, which I need, I get this message:
java.lang.NoSuchMethodException: com.sun.proxy.$Proxy2320.exportSpace(java.lang.String, java.lang.String, java.lang.String, boolean)
Here's the XML body I sent:
<?xml version="1.0"?>
<methodCall>
<methodName>confluence2.exportSpace</methodName>
<params>
<param>
<value>f69b255d7a</value>
</param>
<param>
<value>cm2011</value>
</param>
<param>
<value>TYPE_XML</value>
</param>
<param>
<value><boolean>1</boolean></value>
</param>
</params>
</methodCall>
Is this truly not implemented, or am I doing something wrong?