Class SpaceLabelResource

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

@Path("/space/{spaceKey}/labels") @Consumes("application/json") @Produces("application/json") public final class SpaceLabelResource extends Object
Since:
8.9.0
  • Constructor Details

    • SpaceLabelResource

      @Inject public SpaceLabelResource(SpaceLabelService spaceLabelService)
  • Method Details

    • index

      @GET public RestList<Label> index(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam("spaceKey") String spaceKey, @QueryParam("start") int start, @QueryParam("limit") @DefaultValue("25") int limit)
    • popular

      @GET @Path("/popular") public RestList<Label> popular(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam("spaceKey") String spaceKey, @QueryParam("start") int start, @QueryParam("limit") @DefaultValue("25") int limit)
    • recent

      @GET @Path("/recent") public RestList<Label> recent(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam("spaceKey") String spaceKey, @QueryParam("start") int start, @QueryParam("limit") @DefaultValue("25") int limit)
    • related

      @GET @Path("/{labelName}/related") public RestList<Label> related(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam("spaceKey") String spaceKey, @PathParam("labelName") String labelName, @QueryParam("start") int start, @QueryParam("limit") @DefaultValue("25") int limit)