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 TypeMethodDescriptionjakarta.ws.rs.core.ResponseaddLabelWatch(long labelId) jakarta.ws.rs.core.ResponsegetLabelWatches(long labelId) jakarta.ws.rs.core.ResponseremoveLabelWatch(long labelId)
-
Constructor Details
-
LabelWatchesResource
@Inject public LabelWatchesResource(NotificationManager notificationManager, LabelManager labelManager)
-
-
Method Details
-
getLabelWatches
@GET @Produces("application/json") public jakarta.ws.rs.core.Response getLabelWatches(@PathParam("labelId") long labelId) -
addLabelWatch
@POST @Produces("application/json") public jakarta.ws.rs.core.Response addLabelWatch(@PathParam("labelId") long labelId) -
removeLabelWatch
@DELETE @Produces("application/json") public jakarta.ws.rs.core.Response removeLabelWatch(@PathParam("labelId") long labelId)
-