`.users_list()` doesn't return all the users, is there away to to return the full users list ?
Closed this issue · 4 comments
eslam-gomaa commented
Hello,
What is the method name to get the full list of users ?
eslam-gomaa commented
sorry, found it
.users_list().json()
eslam-gomaa commented
I noticed that .users_list()
doesn't return all the users, is there away to to return the full users list ?
jadolg commented
users_list()
is paginated so you can pass the pagination parameters to get the rest. There was someone some time ago asking to make it into an iterator but it was never done.
Look at https://developer.rocket.chat/reference/api/rest-api/endpoints/other-important-endpoints/offset-and-count-and-sort-info for more information.
eslam-gomaa commented