@Path(value="/users/{domainUid}/subscriptions")
public interface IUserSubscription
Modifier and Type | Method and Description |
---|---|
java.util.List<ContainerDescriptor> |
listSubscriptions(java.lang.String subject,
java.lang.String type)
List subscribed containers
|
void |
subscribe(java.lang.String subject,
java.util.List<ContainerSubscription> subscriptions)
Subscribe current User to a list of containers
|
void |
unsubscribe(java.lang.String subject,
java.util.List<java.lang.String> containers)
Unsubscribe current User from a list of containers
|
@GET @Path(value="{subject}") java.util.List<ContainerDescriptor> listSubscriptions(@PathParam(value="subject") java.lang.String subject, @QueryParam(value="type") java.lang.String type) throws ServerFault
subject
- type
- ServerFault
@POST @Path(value="{subject}/_subscribe") void subscribe(@PathParam(value="subject") java.lang.String subject, java.util.List<ContainerSubscription> subscriptions) throws ServerFault
subject
- containers
- ServerFault
@POST @Path(value="{subject}/_unsubscribe") void unsubscribe(@PathParam(value="subject") java.lang.String subject, java.util.List<java.lang.String> containers) throws ServerFault
subject
- containers
- ServerFault
Copyright © 2021. All Rights Reserved.