Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional parameters to GET /user in order to limit the results returned #80

Open
DuvelCorp opened this issue Feb 16, 2022 · 0 comments

Comments

@DuvelCorp
Copy link

DuvelCorp commented Feb 16, 2022

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 :

  1. 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.

  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant