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 Details

    • LegacyTemplateResource

      @Inject public LegacyTemplateResource(TemplateService templateService)
      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.