Class GroupResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.admin.group.GroupResource
-
public class GroupResource extends Object
REST resource to manage groups in bamboo. If user repositories is set to use external crowd or ldap instance any modification to groups will result in 400 status code.- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description GroupResource(UserService restGroupService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createGroup(RestGroup restGroup, Expansion expansion, javax.ws.rs.core.UriInfo uriInfo)
List<RestGroup>
getGroup(String name, Expansion expansion, javax.ws.rs.core.UriInfo uriInfo)
-
-
-
Constructor Detail
-
GroupResource
@Inject public GroupResource(UserService restGroupService)
-
-
Method Detail
-
getGroup
public List<RestGroup> getGroup(String name, @Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
- Throws:
WebValidationException
-
createGroup
public javax.ws.rs.core.Response createGroup(RestGroup restGroup, @Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
- Throws:
WebValidationException
-
-