Re: [xwiki-users] Rest API to create pages (and pages within pages)

2017-03-02 Thread Marius Dumitru Florea
On Thu, Mar 2, 2017 at 10:38 AM, Juan Huerta wrote: > Hi Marius, > > Thanks a lot for your help. > > Actually, after browsing the forum, I found someone had a similar problem > (or so I thought). And I thought that my solution was along the lines of > setting the parent and parentId of the pages

Re: [xwiki-users] Rest API to create pages (and pages within pages)

2017-03-02 Thread Juan Huerta
Hi Marius, Thanks a lot for your help. Actually, after browsing the forum, I found someone had a similar problem (or so I thought). And I thought that my solution was along the lines of setting the parent and parentId of the pages (while calling the API and as data passed in the call) . http://x

Re: [xwiki-users] Rest API to create pages (and pages within pages)

2017-03-02 Thread Marius Dumitru Florea
Hi Juan, You got it almost right, but you need to read http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/ , especially the part that explains the difference between terminal and non-terminal pages. On Wed, Mar 1, 2017 at 11:13 PM, Juan Huerta wrote: > Hi, > > I'm quite new i

[xwiki-users] Rest API to create pages (and pages within pages)

2017-03-01 Thread Juan Huerta
Hi, 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 m