Project

General

Profile

Actions

Patch #13948

closed

REST API should return user.status

Added by Kambiz Darabi over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Low
Category:
REST API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Currently, the REST API /users [1] does not return the status of the requested user.

As I needed this information, I made a tiny modification to show.api.rsb.

Find attached a patch which returns the user.status to the caller, iff the caller is either an admin user or the user who is being returned.

[1] http://www.redmine.org/projects/redmine/wiki/Rest_Users


Files

rest-api-user-status.patch (507 Bytes) rest-api-user-status.patch Kambiz Darabi, 2013-05-05 08:21
Actions

Also available in: Atom PDF