Class ContentWatchesResource
java.lang.Object
com.atlassian.confluence.plugins.rest.jackson2.resources.ContentWatchesResource
@Path("/content/{contentId}/watches")
@Produces("application/json;charset=UTF-8")
public class ContentWatchesResource
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionContentWatchesResource(NotificationManager notificationManager, ContentEntityManager contentEntityManager) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseaddContentWatch(long contentId) jakarta.ws.rs.core.ResponsegetContentWatches(long contentId) getResult(List<Notification> notifications) jakarta.ws.rs.core.ResponseremoveContentWatch(long contentId)
-
Constructor Details
-
ContentWatchesResource
@Inject public ContentWatchesResource(NotificationManager notificationManager, @Named("contentEntityManager") ContentEntityManager contentEntityManager)
-
-
Method Details
-
getContentWatches
@GET @Produces("application/json") public jakarta.ws.rs.core.Response getContentWatches(@PathParam("contentId") long contentId) -
getResult
-
addContentWatch
@POST @Produces("application/json") public jakarta.ws.rs.core.Response addContentWatch(@PathParam("contentId") long contentId) -
removeContentWatch
@DELETE @Produces("application/json") public jakarta.ws.rs.core.Response removeContentWatch(@PathParam("contentId") long contentId)
-