Interface OwnershipApi
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
OwnershipResource
@Path("/administration/ownerships")
@RegisterRestClient
@RegisterProvider(ClientResponseExceptionMapper.class) @RegisterProvider(ResponseClientFilter.class)
@RegisterClientHeaders(RequestHeaderFactory.class)
public interface OwnershipApi
extends Closeable
-
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni
<ClientOwnership> add
(String client, String bucket, ClientOwnership ownership) io.smallrye.mutiny.Uni
<jakarta.ws.rs.core.Response> io.smallrye.mutiny.Uni
<jakarta.ws.rs.core.Response> deleteAllClient
(String bucket) io.smallrye.mutiny.Uni
<ClientOwnership> findByBucket
(String client, String bucket) io.smallrye.mutiny.Uni
<Collection<ClientBucketAccess>> listAll
(String client, ClientOwnership ownership) io.smallrye.mutiny.Uni
<ClientOwnership> update
(String client, String bucket, ClientOwnership ownership)
-
Method Details
-
listAll
@GET @Path("/{client}") @Produces("application/json") io.smallrye.mutiny.Uni<Collection<ClientBucketAccess>> listAll(String client, @QueryParam("ownership") @DefaultValue("UNKNOWN") ClientOwnership ownership) -
add
@POST @Path("/{client}/{bucket}/{ownership}") @Produces("application/json") @Consumes("application/json") io.smallrye.mutiny.Uni<ClientOwnership> add(String client, String bucket, ClientOwnership ownership) -
update
@PUT @Path("/{client}/{bucket}/{ownership}") @Produces("application/json") @Consumes("application/json") io.smallrye.mutiny.Uni<ClientOwnership> update(String client, String bucket, ClientOwnership ownership) -
findByBucket
@GET @Path("/{client}/{bucket}") @Produces("application/json") io.smallrye.mutiny.Uni<ClientOwnership> findByBucket(String client, String bucket) -
delete
-
deleteAllClient
@Path("/{bucket}") @DELETE @Produces("application/json") io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> deleteAllClient(String bucket)
-