Class LabelResource
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRelatedLabels(String labelName, int limit) recent(int start, int limit, javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
LabelResource
-
-
Method Details
-
getRelatedLabels
@GET @Path("/{labelName}/related") public PageResponse<Label> getRelatedLabels(@PathParam("labelName") String labelName, @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
-