Hi Sven, There actually is a REST resource for querying pages with a given tag. Check out the documentation on the REST API page [1]. The resource is: /wikis/{wikiName}/tags/{tag1}[,{tag2},{tag3}...][?start=offset&number=n] which returns: "The list of pages having the specified tags." [1] Regarding your other questions, if they are still valid, check out the documentation on creating XWiki Components [2] and on creating new(custom) REST resources [3] that extend the REST API. Thanks, Eduard ---------- [1] http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HTagresour... [2] http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents [3] http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HCustomres... On Sun, May 6, 2012 at 12:16 AM, Sven Adolph <[email protected]>wrote:
Hi, I would like to access my XWiki from an external web service. The web service would send a tag to XWiki and then receive links to all pages which are tagged with the given tag. I looked at the REST-API and the XMLRPC-API but I couldn't find a way to do the task with these apis. Now i am thinking about writing my own component which would query the tag plugin and then return the results in some way. My question is how can I make a component accessible from outside Xwiki? Is there an easy way to enhance the REST or XML-RCP components or is it possible to use an script on a wikipage to forward a get-request with its paramter to the component? Is there a best practice for tasks like this?
Thanks a lot & Kind Regards, Sven _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users