YouTrack Standalone 2017.1 Help

GET Group Roles

GET /admin/group/{group}/role

Get roles assigned to a user group.

GET /rest/admin/group/{group}/role

Parameters:

Name Type Description
group groupByName Name of a user group.

Sample

Request:

GET http://localhost:8081/rest/admin/group/idea-developers/role Connection: keep-alive Cookie: $Version=0; JSESSIONID=axezv08lvrvrzpvvih22ricx; $Path=/

Response:

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 246 Server: Jetty(6.1.23) <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <userRoles> <userRole name="idea-developers_HBR"> <projects> <projectRef id="HBR" url="https://example.com/youtrack/rest/admin/project/HBR"/> </projects> </userRole> </userRoles>
Last modified: 18 April 2017