Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???
Hi Nithya, Manish Have you checked http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HPageresou... ? In particular : /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName} HTTP Method: PUT * Accepted Media types: o application/xml (Page element) o text/plain (Only page content) o application/x-www-form-urlencoded (allowed field names: title, parent, content) Is something not clear about it ? Not working ? Thanks, Jerome ----- Original Message ----- From: "xManish" <shresthamanish@gmail.com> To: users@xwiki.org Sent: Thursday, June 17, 2010 1:42:04 AM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: Re: [xwiki-users] How to add a page with contents in xwiki through Rest api??? Nithya Vembu wrote:
But i dont getting clear idea, how can i create a page under space with some contents.. and i am not getting any good samples for xwiki rest api.
...
Kindly anyone give me idea how rest will get differentiate in xwiki manner..
Can anyone give me a code snippet for this requirement so that i can improve my progress in my project..
Any help greatly appreciated.
Thanks in advance.
Regards, Nithya.
Hi, Did you happened to find the solution to your problem? If yes, would you please share it. Thanks, Manish -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-add-a-page-with-contents-in-xwiki-t... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Jerome Velociter wrote:
Hi Nithya, Manish
Have you checked http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HPageresou... ?
In particular :
/wikis/{wikiName}/spaces/{spaceName}/pages/{pageName} HTTP Method: PUT * Accepted Media types: o application/xml (Page element) o text/plain (Only page content) o application/x-www-form-urlencoded (allowed field names: title, parent, content)
Is something not clear about it ? Not working ?
Thanks, Jerome
Hi Jerome, Thanks for the reply. I was able to create the page afterwards. Sorry for the impatience :) However, today I am into different but similiar situation. I need to create users in XWiki through REST Api. Is it possible? How to do it? Thanks, Manish -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-add-a-page-with-contents-in-xwiki-t... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
Jerome Velociter -
xManish