How to sort the members of a site retrieved with Rest API

cancel
Showing results for 
Search instead for 
Did you mean: 
malekgn
Active Member II

How to sort the members of a site retrieved with Rest API

Hello,

How to sort the list of a site members while retrieving them by the REST API /alfresco/api/-default-/public/alfresco/versions/1/sites/{siteId}/members

If this is not possible, how the members are sorted by default ?

2 Replies
venur
Established Member

Re: How to sort the members of a site retrieved with Rest API

Not possible by default. You may have to consume the json response and then sort the json. 

malekgn
Active Member II

Re: How to sort the members of a site retrieved with Rest API

Thanks for your answer.

But the problem is that I retrieve the members by pages (using skipCount and maxItems). So, I have to be sure that the elements retrieved in the first page are not retrieved in the second one.