How can I create a new page to confluence with Python
问题 I am trying to create a new page into confluence using Python's xmlrpclib . I already know how to update content of an existing page, but how can I create a totally new page? I have used following script to update content: import xmlrpclib CONFLUENCE_URL='https://wiki.*ownURL*/rpc/xmlrpc' def update_confluence(user, pwd, pageid, newcontent): client = xmlrpclib.Server(CONFLUENCE_URL,verbose=0) authToken=client.confluence2.login(user,pwd) page = client.confluence2.getPage(authToken, pageid)