public interface ResourceScopesResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(ScopeRepresentation scope) |
ScopeRepresentation |
findByName(String name) |
ResourceScopeResource |
scope(String id) |
List<ScopeRepresentation> |
scopes() |
@POST @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response create(ScopeRepresentation scope)
@Path(value="{id}") ResourceScopeResource scope(@PathParam(value="id") String id)
@GET @Produces(value="application/json") List<ScopeRepresentation> scopes()
@Path(value="/search") @GET @Produces(value="application/json") ScopeRepresentation findByName(@QueryParam(value="name") String name)
Copyright © 2021 JBoss by Red Hat. All rights reserved.