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