org.xwiki.manager.rest.resources
Interface WikiManagerResource


public interface WikiManagerResource

Wiki manager resource definition.

Version:
$Id: 4112fb67a38c340a5c53a0d2d288d23f715d8b12 $

Method Summary
 javax.ws.rs.core.Response createWiki(String template, Wiki wiki)
          Create a wiki.
 

Method Detail

createWiki

javax.ws.rs.core.Response createWiki(String template,
                                     Wiki wiki)
                                     throws XWikiRestException
Create a wiki.

Parameters:
template - the wiki template to be used for initializing the new wiki. Can be null.
wiki - the wiki model object (see Wiki)containing information about the wiki to be created.
Returns:
a response containing a description of the created wiki (see Wiki)
Throws:
XWikiRestException - is there is an error while creating the wiki.


Copyright © 2004-2013 XWiki. All Rights Reserved.