Hi,
We are using the following to successfully export to HTML from a Confluence Space:
USRNAME=username
USRPWD=password
CONFBASEURL=http://127.0.0.1:8090/confluenceSPACE_KEY=SPACEKEY
curl -s \
--user $USRNAME:$USRPWD \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-X POST \
-d '{ "jsonrpc" : "2.0", "method" : "exportSpace", "params" : ["'${SPACE_KEY}'", "TYPE_HTML"], "id": 7 }' \
${CONFBASEURL}'/rpc/json-rpc/confluenceservice-v2?os_authType=basic'However I need to exclude comments and some page, which I can manually do as under by choosing "Custom Export":

How can I provided these options to the script above? Thanks for your insights.