KEYCLOAK-1327 Updated for clients
This commit is contained in:
1 parent
f61a9d7a70
commit
6f164f0ee9
14 files changed
+144
-213
No files matched your search
+4
-3
@@ -9,6 +9,7 @@ import javax.ws.rs.Path;
|
||||
import javax.ws.rs.PathParam;
|
||||
import javax.ws.rs.Produces;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import javax.ws.rs.core.Response;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -16,12 +17,12 @@ import java.util.List;
|
||||
*/
|
||||
public interface ClientsResource {
|
||||
|
||||
@Path("{clientId}")
|
||||
public ClientResource get(@PathParam("clientId") String clientId);
|
||||
@Path("{id}")
|
||||
public ClientResource get(@PathParam("id") String id);
|
||||
|
||||
@POST
|
||||
@Consumes(MediaType.APPLICATION_JSON)
|
||||
public void create(ClientRepresentation clientRepresentation);
|
||||
public Response create(ClientRepresentation clientRepresentation);
|
||||
|
||||
@GET
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
|
||||
Reference in new issue
Block a user