I would like to create a Confluence child wiki page under a parent page thru a python/java script
I am able to create a page under a space by a below mentioned script but i want yo add this same page under some folder
e.g. like this page is created under a folder
however i want to create a page under a folder
Hand-Off Document /Handoff Document Home / QAgent Signature Set: Windows
how can i genrate page under this hireracy by a script
import xmlrpclib
CONFLUENCE_URL = "https://qwiki.intranet.qualys.com/rpc/xmlrpc"
CONFLUENCE_LOGIN = "XXX"
CONFLUENCE_PASSWORD = "XXx"
client = xmlrpclib.Server(CONFLUENCE_URL, verbose = 0)
auth_token = client.confluence2.login(CONFLUENCE_LOGIN, CONFLUENCE_PASSWORD)
newpagedata = {"title":"TEST_page_sha","content":"new content","space":"XXX"}
newpage = client.confluence1.storePage(auth_token, newpagedata);
Hi!
That resources might be helpful (there is an example of a code)
https://mycloudjourney.medium.com/python-code-to-update-confluence-page-programmatically-b76490faf3e
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.