YouTrack InCloud 7.0 Help

GET Group

GET /admin/group/{group}

Get a user group by its name.

GET /rest/admin/group/{group}

Request parameters:

Name Type Description
group groupByName Name of a user group to get.

Response parameters:

Name Description
name Group name.
autoJoin If new users will automatically join this group or not.
description group description.
rolesUrl Url, where group roles can be got.

Sample

Request:

GET http://localhost:8081/rest/admin/group/New%20Users Connection: keep-alive Cookie: $Version=0; JSESSIONID=axezv08lvrvrzpvvih22ricx; $Path=/

Response:

HTTP/1.1 200 OK Content-Type: application/xml;charset=UTF-8 Content-Length: 296 Server: Jetty(6.1.23) <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <userGroup name="New Users" description="All newly registered useres will be placed into this group and inherit all access rights from this group." rolesUrl="http://unit-258.labs.intellij.net:8080/charisma/rest/admin/group/New+Users/role/"/>
Last modified: 29 September 2016