This post has NOT been accepted by the mailing list yet.
I'm quite new in XWiki and trying to use the RestAPI to create pages, and pages inside pages (which I think is called spaces). I have the feeling that 'spaces' is a legacy term, and that in the current XWiki (Enterprise 9.1), an space is just a page that contains other pages. Kindly correct me if I'm wrong, but I have not find anywhere how to create an space.
Below the 2 URLs I'm using to create the pages. In both cases, when I use PUT to call the 2 urls, I pass as data a content and a title. I have no problem with the title and the content, both are being created correctly. My end goal is to create pages, and pages withing pages.
(notice the / at the end of the URL, "madrid" vs "madrid/" )
How to indicate that the page should be created in an existing page without the need to create this new parent page? Or even if I have to create first the parent page, how to tell that the child page should be inside that existing parent page?