Hi Marius,
Sorry I forgot to mention, I used a hql query to find all the objects of a specific class
using this REST resource:
/wikis/{wikiName}/query?q={query}&type=hql,xwql,lucene}[&distinct={true,false}]~[&order={asc,desc}][&start=n][&number=n][&prettyNames={true,false}][&className=className]
Regards,
Sunil
On Wednesday, January 29, 2014 3:34 PM, Marius Dumitru
Florea <mariusdumitru.florea(a)xwiki.com> wrote:
Which REST resources did you try? These
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HObjectre…
work for me when I'm logged out:
/xwiki/rest/wikis/xwiki/spaces/Blog/pages/BlogIntroduction/objects
/xwiki/rest/wikis/xwiki/spaces/Blog/pages/BlogIntroduction/objects/Blog.BlogPostClass/0
Hope this helps,
Marius
On Wed, Jan 29, 2014 at 4:10 AM, Sunil Khiatani <spawn57(a)yahoo.com> wrote:
Hi,
I've created an application using the app within minutes feature and
I've been trying to get the data from the app using REST. However I
can't see the objects in the xml/json unless I'm authenticated as the
admin. Is there a way to allow anonymous users to see the objects?
Regards,
Sunil
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users