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 TypeMethodDescriptionjakarta.ws.rs.core.Response
changePassword
(PasswordChangeDetails passwordChangeDetails) getCurrent
(String expand) getGroups
(String userKey, String username, String expand, int start, int limit, jakarta.ws.rs.core.UriInfo uriInfo) getUserGraph
(boolean current, String key, String username, String expand) jakarta.ws.rs.core.Response
updateUser
(UserDetailsForUpdate userDetailsForUpdate, jakarta.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 jakarta.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 jakarta.ws.rs.core.UriInfo uriInfo) -
changePassword
@POST @Path("/current/password") @Consumes("application/json") public jakarta.ws.rs.core.Response changePassword(PasswordChangeDetails passwordChangeDetails) -
updateUser
@PUT @Path("/current") @Consumes("application/json") public jakarta.ws.rs.core.Response updateUser(UserDetailsForUpdate userDetailsForUpdate, @Context jakarta.ws.rs.core.UriInfo uriInfo)
-