Re: [xwiki-users] Best practice for an API Component

2012-05-07 Thread Marius Dumitru Florea
On Mon, May 7, 2012 at 7:24 PM, Sven Adolph wrote: > Hi Eduard, > thanks for your quick answer. Using the REST resource works fine, thanks a > lot. > > For future work I have one question left. I read the tutorial for creating > an own component, but it is not clear to me how to use an component a

Re: [xwiki-users] Best practice for an API Component

2012-05-07 Thread Thomas Mortagne
On Mon, May 7, 2012 at 6:24 PM, Sven Adolph wrote: > Hi Eduard, > thanks for your quick answer. Using the REST resource works fine, thanks a > lot. > > For future work I have one question left. I read the tutorial for creating > an own component, but it is not clear to me how to use an component a

Re: [xwiki-users] Best practice for an API Component

2012-05-07 Thread Sven Adolph
Hi Eduard, thanks for your quick answer. Using the REST resource works fine, thanks a lot. For future work I have one question left. I read the tutorial for creating an own component, but it is not clear to me how to use an component as a service, so that an external application can access it. e.g

Re: [xwiki-users] Best practice for an API Component

2012-05-07 Thread Sven Adolph
Hi Eduard, thanks for your quick answer. Using the REST resource works fine, thanks a lot. For future work I have one question left. I read the tutorial for creating an own component, but it is not clear to me how to use an component as a service, so that an external application can access it

Re: [xwiki-users] Best practice for an API Component

2012-05-06 Thread Eduard Moraru
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] Regar