Hi,
my problem is about the API of the Wiki Manager, because i want to automate the creation and deletion of wikis.
I want to create and delete Wikis by sending simple http requests. Until now i am kinda able to do that but it doesn’t seem right, how the create request is handled by Xwiki. The documentation of API calls is also quite flavorless , so i am kinda at a dead end right now.
I am using a webextension, RESTED, at the moment to test the request functionality though everytime i send the request, Wxiki tells me the following:
The wiki is sort of created but only the basics, so as soon as i click on it, i am led to the wizard to install a flavor.
But when i send the request again it kinda works and the wiki gets created, though it is not 100% reproducable. (The same lines appear as in the first image, but then the whole installation process similar to the basic installation through the frontend wizard happens)
This is my request body:
wikiprettyname=testwiki123&wikiname=testwiki123&wikialias=&description=test+description&template=&flavor=org.xwiki.platform%3Axwiki-platform-distribution-flavor-wiki%3A%3A%3A16.5.0&set_as_template=&form_token=vJ7nfHDDDxUZlDdgUodFcw&ownerId=XWiki.sdcloud-admin&userScope=global_only&membershipType=open&members=&step=create
Is there a more stable way of using the Wiki Manager or something in the works ? Because i cannot use this.
Thanks in advance
Thorben
1 post - 1 participant