Fix admin-api to show that users are retrieved by ip, not username
This commit is contained in:
parent
0d957311b4
commit
5bd53804f9
1 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ public interface UsersResource {
|
|||
|
||||
@GET
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
public List<UserRepresentation> search(@QueryParam("username") String username,
|
||||
List<UserRepresentation> search(@QueryParam("username") String username,
|
||||
@QueryParam("firstName") String firstName,
|
||||
@QueryParam("lastName") String lastName,
|
||||
@QueryParam("email") String email,
|
||||
|
@ -26,7 +26,7 @@ public interface UsersResource {
|
|||
|
||||
@GET
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
public List<UserRepresentation> search(@QueryParam("search") String search,
|
||||
List<UserRepresentation> search(@QueryParam("search") String search,
|
||||
@QueryParam("first") Integer firstResult,
|
||||
@QueryParam("max") Integer maxResults);
|
||||
|
||||
|
@ -34,7 +34,7 @@ public interface UsersResource {
|
|||
@Consumes(MediaType.APPLICATION_JSON)
|
||||
Response create(UserRepresentation userRepresentation);
|
||||
|
||||
@Path("{username}")
|
||||
public UserResource get(@PathParam("username") String username);
|
||||
@Path("{id}")
|
||||
UserResource get(@PathParam("id") String id);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue