How to sort the members of a site retrieved with Rest API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 05:31 AM
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 ?
- Labels:
-
Alfresco Content Services

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 10:02 AM
Not possible by default. You may have to consume the json response and then sort the json.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2023 04:39 AM
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.
