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
-
Constructor Details
-
LabelResource
-
-
Method Details
-
labels
@GET @Path("labels") public RestList<Label> labels(@QueryParam("labelName") String labelName, @QueryParam("owner") String owner, @QueryParam("namespace") String namespace, @QueryParam("spaceKey") String spaceKey, @QueryParam("start") int start, @QueryParam("limit") @DefaultValue("100") int limit, @Context javax.ws.rs.core.UriInfo uriInfo) 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
-
popular
@GET @Path("/popular") public PageResponse<Label> popular(@QueryParam("start") int start, @QueryParam("limit") @DefaultValue("100") int limit, @Context javax.ws.rs.core.UriInfo uriInfo) throws ServiceException - Throws:
ServiceException
-