Class CategoryResource

java.lang.Object
com.atlassian.confluence.plugins.restapi.resources.CategoryResource

@Path("/space/{spaceKey}/category") @Consumes("application/json") @Produces("application/json") public class CategoryResource extends Object
  • Constructor Details

    • CategoryResource

      @Inject public CategoryResource(CategoryService categoryService)
  • Method Details

    • add

      @POST @Path("/{labelName}") public javax.ws.rs.core.Response add(@PathParam("spaceKey") String spaceKey, @PathParam("labelName") String labelName)
    • removeCategory

      @DELETE @Path("/{categoryName}") public javax.ws.rs.core.Response removeCategory(@PathParam("spaceKey") String spaceKey, @PathParam("categoryName") String categoryName)