cancel
Showing results for 
Search instead for 
Did you mean: 

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

malekgn
Confirmed Champ
Confirmed Champ

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 2

venur
Star Contributor
Star Contributor

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

malekgn
Confirmed Champ
Confirmed Champ

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.