[xwiki-users] REST query to fetch filtered list of users and some of their attributes

2016-05-20 Thread Mark Sack
In our Xwiki, I've added some fields such as birthday (of type Date) to the user profile. I'd like to implement a REST call that retrieves all of the non-hidden users with birthdays in a specific month (typically the current month) and some specific attribute values. Right now the values I want

Re: [xwiki-users] REST query to fetch filtered list of users and some of their attributes

2016-05-20 Thread Vincent Massol
Hi Mark, > On 20 May 2016, at 16:45, Mark Sack wrote: > > In our Xwiki, I've added some fields such as birthday (of type Date) to the > user profile. I'd like to implement a REST call that retrieves all of the > non-hidden users with birthdays in a specific month

[xwiki-users] [ANN] Contrib parent 7.4-1 released

2016-05-20 Thread Thomas Mortagne
I just released a version 7.4-1 of the helper to use as parent in contrib Maven projects. Fix two issues with enforcer plugin (for platform projects). See https://github.com/xwiki-contrib/parent for more details about the project. -- Thomas Mortagne

Re: [xwiki-users] REST query to fetch filtered list of users and some of their attributes

2016-05-20 Thread Mark Sack
OK. I understand how to display the attributes on the web page with some more velocity commands (i.e. a couple of for loops). But I'm still stuck on how to translate that into a single REST call (in addition to the first problem of the erroneous (perhaps my error) results in the REST call. Thanks

Re: [xwiki-users] REST query returns subset of results

2016-05-20 Thread Thomas Mortagne
This default 10 limit looks like a bug to me. Even if this was done on purpose it really does not make any sense from API point of view IMO and should be removed. Would be great if you could report it on http://jira.xwiki.org. On Fri, May 20, 2016 at 1:51 PM, Mark Sack

[xwiki-users] REST query returns subset of results

2016-05-20 Thread Mark Sack
I'm using the REST API to get the wiki users as per the example in http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI i.e. http:///xwiki/rest/wikis/query?q=object:XWiki.XWikiUsers This only returns 10 of the users in the wiki database. If I make the call using curl, it returns 10

Re: [xwiki-users] REST query returns subset of results

2016-05-20 Thread Mark Sack
Created http://jira.xwiki.org/browse/XWIKI-13434 -- View this message in context: http://xwiki.475771.n2.nabble.com/REST-query-returns-subset-of-results-tp7599544p7599546.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users

Re: [xwiki-users] REST query returns subset of results

2016-05-20 Thread Thomas Mortagne
Thanks. On Fri, May 20, 2016 at 2:24 PM, Mark Sack wrote: > Created http://jira.xwiki.org/browse/XWIKI-13434 > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/REST-query-returns-subset-of-results-tp7599544p7599546.html > Sent from the