Class LegacyTemplateResource
java.lang.Object
com.atlassian.confluence.ui.rest.content.LegacyTemplateResource
@Deprecated
@Path("/template")
@Consumes("application/json")
@Produces("application/json")
public class LegacyTemplateResource
extends Object
Deprecated.
since 5.10. Use the official REST API that lives in confluence-rest-resources.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
Deprecated.javax.ws.rs.core.Response
deleteLabel
(Long pageTemplateId, Long labelId) Deprecated.javax.ws.rs.core.Response
Deprecated.
-
Constructor Details
-
LegacyTemplateResource
Deprecated.
-
-
Method Details
-
getLabels
@GET @Path("/{id}/labels") public javax.ws.rs.core.Response getLabels(@PathParam("id") Long pageTemplateId, @QueryParam("prefix") List<String> prefixes) Deprecated. -
addLabels
@POST @Path("/{id}/labels") public javax.ws.rs.core.Response addLabels(@PathParam("id") Long pageTemplateId, List<Label> labels) Deprecated. -
deleteLabel
@DELETE @Path("/{id}/label/{labelId}") public javax.ws.rs.core.Response deleteLabel(@PathParam("id") Long pageTemplateId, @PathParam("labelId") Long labelId) Deprecated.
-