Class UserResource
java.lang.Object
com.atlassian.confluence.plugins.restapi.resources.UserResource
@Consumes("application/json")
@Produces("application/json")
@Path("/user")
public class UserResource
extends Object
Non-admin user operations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
changePassword
(PasswordChangeDetails passwordChangeDetails) getCurrent
(String expand) getGroups
(String userKey, String username, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo) getUserGraph
(boolean current, String key, String username, String expand) javax.ws.rs.core.Response
updateUser
(UserDetailsForUpdate userDetailsForUpdate, javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
UserResource
-
-
Method Details
-
getUserGraph
-
getUser
-
getUsers
@GET @Path("/list") public PageResponse<Person> getUsers(@QueryParam("expand") @DefaultValue("") String expand, @QueryParam("start") @DefaultValue("0") int start, @QueryParam("limit") @DefaultValue("100") int limit, @Context javax.ws.rs.core.UriInfo uriInfo) -
getCurrent
-
getAnonymous
-
getGroups
@GET @Path("/memberof") public PageResponse<Group> getGroups(@QueryParam("key") String userKey, @QueryParam("username") String username, @QueryParam("expand") String expand, @QueryParam("start") int start, @QueryParam("limit") @DefaultValue("200") int limit, @Context javax.ws.rs.core.UriInfo uriInfo) -
changePassword
@POST @Path("/current/password") @Consumes("application/json") public javax.ws.rs.core.Response changePassword(PasswordChangeDetails passwordChangeDetails) -
updateUser
@PUT @Path("/current") @Consumes("application/json") public javax.ws.rs.core.Response updateUser(UserDetailsForUpdate userDetailsForUpdate, @Context javax.ws.rs.core.UriInfo uriInfo)
-