YouTrack Standalone 7.0 Help

GET Users

GET /admin/user

Get a list of all available registered users.

GET /rest/admin/user?{q}&{group}&{role}&{project}&{permission}&{onlineOnly}&{start}

Parameters:

Name Type Description
q string search query (part of user login, name or email)
group string filter by group (
groupID
)
role string filter by role
project string filter by project (
projectID
)
permission string filter by permission
onlineOnly boolean get only users which are currently online
start Integer paginator mode (takes 10 records)

Sample

Request:

HTTP GET: /admin/user

Response:

<userRefs> <user login="guest" url="http://localhost:8080/charisma/rest/admin/user/guest"/> <user login="newroot" url="http://localhost:8080/charisma/rest/admin/user/newroot"/> <user login="root" url="http://localhost:8080/charisma/rest/admin/user/root"/> </userRefs>

Query Sample

Request:

HTTP GET: /admin/user/?q=alex*%20Che

Response:

xml <userRefs> <user login="chebaturkin" url="http://localhost:8080/charisma/rest/admin/user/chebaturkin"/> <!--Alexander Chebaturkin is his name--> <user login="alexey.chebotarev" url="http://localhost:8080/charisma/rest/admin/user/alexey.chebotarev"/> <!--It's his login--> </userRefs>
Last modified: 2 February 2017