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
|
@GET
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
public List<UserRepresentation> search(@QueryParam("username") String username,
|
List<UserRepresentation> search(@QueryParam("username") String username,
|
||||||
@QueryParam("firstName") String firstName,
|
@QueryParam("firstName") String firstName,
|
||||||
@QueryParam("lastName") String lastName,
|
@QueryParam("lastName") String lastName,
|
||||||
@QueryParam("email") String email,
|
@QueryParam("email") String email,
|
||||||
|
@ -26,7 +26,7 @@ public interface UsersResource {
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
public List<UserRepresentation> search(@QueryParam("search") String search,
|
List<UserRepresentation> search(@QueryParam("search") String search,
|
||||||
@QueryParam("first") Integer firstResult,
|
@QueryParam("first") Integer firstResult,
|
||||||
@QueryParam("max") Integer maxResults);
|
@QueryParam("max") Integer maxResults);
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ public interface UsersResource {
|
||||||
@Consumes(MediaType.APPLICATION_JSON)
|
@Consumes(MediaType.APPLICATION_JSON)
|
||||||
Response create(UserRepresentation userRepresentation);
|
Response create(UserRepresentation userRepresentation);
|
||||||
|
|
||||||
@Path("{username}")
|
@Path("{id}")
|
||||||
public UserResource get(@PathParam("username") String username);
|
UserResource get(@PathParam("id") String id);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue