Patch #4596
closed
REST api fto get account info ?
Added by Jérémy Lal almost 15 years ago.
Updated almost 14 years ago.
Description
Hi,
it could be very useful for other software that would want to authenticate against redmine,
to have /my/account.(json|xml) return account information (User.current).
Here's a small patch to provide this.
Files
+1 Definitely would like to see this.
Sending the user's password hash in the response is not a good idea.
Jean-Philippe Lang wrote:
Sending the user's password hash in the response is not a good idea.
I'm trying to get Redmine adopted by the NY Times and this API would be a critical step. I think a user information API would be very powerful feature:
- Query for account existence
- Ability to create an account stub
- Retrieve core account info -- first, last, email
I'll create a more complex and secure patch based on the above.
- Status changed from New to Closed
The REST API for Users was added in trunk and will be available in 1.1.
Also available in: Atom
PDF