@Path(value="/users/{domainUid}/subscriptions")
public interface IUserSubscription
Modifier and Type | Method and Description |
---|---|
java.util.List<ContainerSubscriptionDescriptor> |
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
|
java.util.List<java.lang.String> |
subscribers(java.lang.String containerUid)
Returns of list of subscribers to a given container
|
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<ContainerSubscriptionDescriptor> listSubscriptions(@PathParam(value="subject") java.lang.String subject, @QueryParam(value="type") java.lang.String type) throws ServerFault
subject
- type
- ServerFault
@GET @Path(value="_subscribers/{containerUid}") java.util.List<java.lang.String> subscribers(@PathParam(value="containerUid") java.lang.String containerUid)
containerUid
- BaseDirEntry.entryUid
)@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.