rest
rest copied to clipboard
Additional parameters to GET /user in order to limit the results returned
Hello
This is not a bug, but 2 questions, that can become an enhancement request.
Regarding API's end point GET /user, is there a way to :
-
Limit the fields returned ? In my sync procedure I just need the ID, Firstname, Lastname and Email, of the humhub users in order to link them in the user table of my other system. When I use /user it returns all user's fields which is a bit overkilling.
-
Pass some filters to limit results ? For instance I'd like to retrieve only the users for which the ID of the other system (custom profile field) is still NULL.
Cheers