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

@Consumes("application/json") @Produces("application/json") @Path("/label") public class LabelResource extends Object
REST wrapper for the LabelService.
  • Constructor Details

    • LabelResource

      @Inject public LabelResource(LabelService labelService)
  • Method Details

    • getRelatedLabels

      @GET @Path("/{labelName}/related") public PageResponse<Label> getRelatedLabels(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam("labelName") String labelName, @QueryParam("start") int start, @QueryParam("limit") @DefaultValue("100") int limit) throws ServiceException
      Throws:
      ServiceException
    • recent

      @GET @Path("/recent") public PageResponse<Label> recent(@QueryParam("start") int start, @QueryParam("limit") @DefaultValue("100") int limit, @Context javax.ws.rs.core.UriInfo uriInfo) throws ServiceException
      Throws:
      ServiceException