public interface ScopePermissionsResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(ScopePermissionRepresentation representation) |
ScopePermissionResource |
findById(String id) |
ScopePermissionRepresentation |
findByName(String name) |
@POST @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response create(ScopePermissionRepresentation representation)
@Path(value="{id}") ScopePermissionResource findById(@PathParam(value="id") String id)
@Path(value="/search") @GET @Produces(value="application/json") ScopePermissionRepresentation findByName(@QueryParam(value="name") String name)
Copyright © 2021 JBoss by Red Hat. All rights reserved.