Class LabelWatchesResource
java.lang.Object
com.atlassian.confluence.plugins.rest.jackson2.resources.LabelWatchesResource
@Path("/label/{labelId}/watches")
@Produces("application/json;charset=UTF-8")
public class LabelWatchesResource
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionLabelWatchesResource
(NotificationManager notificationManager, LabelManager labelManager) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
addLabelWatch
(long labelId) javax.ws.rs.core.Response
getLabelWatches
(long labelId) javax.ws.rs.core.Response
removeLabelWatch
(long labelId)
-
Constructor Details
-
LabelWatchesResource
@Inject public LabelWatchesResource(NotificationManager notificationManager, LabelManager labelManager)
-
-
Method Details
-
getLabelWatches
@GET @Produces("application/json") public javax.ws.rs.core.Response getLabelWatches(@PathParam("labelId") long labelId) -
addLabelWatch
@POST @Produces("application/json") public javax.ws.rs.core.Response addLabelWatch(@PathParam("labelId") long labelId) -
removeLabelWatch
@DELETE @Produces("application/json") public javax.ws.rs.core.Response removeLabelWatch(@PathParam("labelId") long labelId)
-