how to get user numerical id by login/email

Added by Nick Tan over 4 years ago

hi, folks

i'm working on a PoC to integration Redmine into our existing system with Redmine REST APIs.
to manager the users via REST user API, i have to pass the user's numerical id as parameter, but there is no API allow me to this id, the workaround is to get all user via "GET /users.xml" and iterate. or access the database directly.

so i'm wondering is there or can you add this kind of API to get the numerical id by user's login or email.


[Moderator edit: moved to development (Jan)]