Class ContentLabelsResource
java.lang.Object
com.atlassian.confluence.plugins.restapi.resources.ContentLabelsResource
REST wrapper for the
ContentLabelService
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
deleteLabel
(ContentId contentId, String label) javax.ws.rs.core.Response
deleteLabelWithQueryParam
(ContentId contentId, String label) labels
(ContentId contentId, List<String> prefixes, int offset, int limit, javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
ContentLabelsResource
-
-
Method Details
-
labels
@PublicApi public PageResponse<Label> labels(ContentId contentId, List<String> prefixes, int offset, int limit, @Context javax.ws.rs.core.UriInfo uriInfo) throws ServiceException - Throws:
ServiceException
-
addLabels
@PublicApi public PageResponse<Label> addLabels(ContentId contentId, String labels) throws ServiceException - Throws:
ServiceException
-
deleteLabel
@PublicApi public javax.ws.rs.core.Response deleteLabel(ContentId contentId, String label) throws ServiceException - Throws:
ServiceException
-
deleteLabelWithQueryParam
@PublicApi public javax.ws.rs.core.Response deleteLabelWithQueryParam(ContentId contentId, String label) throws ServiceException - Throws:
ServiceException
-