Class GroupResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.admin.group.GroupResource
@Path("security/groups")
@Consumes("application/json")
@Produces("application/json")
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
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createGroup
(RestGroup restGroup, ExpansionParam expansion, javax.ws.rs.core.UriInfo uriInfo) getGroup
(String name, ExpansionParam expansion, javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
GroupResource
-
-
Method Details
-
getGroup
@GET public List<RestGroup> getGroup(@QueryParam("name") String name, @BeanParam ExpansionParam expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException - Throws:
WebValidationException
-
createGroup
@POST public javax.ws.rs.core.Response createGroup(RestGroup restGroup, @BeanParam ExpansionParam expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException - Throws:
WebValidationException
-