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 Details

  • Method Details

    • getContentWatches

      @GET @Produces("application/json") public javax.ws.rs.core.Response getContentWatches(@PathParam("contentId") long contentId)
    • getResult

      public static Map<String,Object> getResult(List<Notification> notifications)
    • addContentWatch

      @POST @Produces("application/json") public javax.ws.rs.core.Response addContentWatch(@PathParam("contentId") long contentId)
    • removeContentWatch

      @DELETE @Produces("application/json") public javax.ws.rs.core.Response removeContentWatch(@PathParam("contentId") long contentId)