Interface TaskAttachmentResource

All Known Implementing Classes:
TaskAttachmentResourceImpl

public interface TaskAttachmentResource
  • Method Details

    • getAttachments

      @GET @Produces("application/json") List<AttachmentDto> getAttachments()
    • getAttachment

      @GET @Path("/{attachmentId}") @Produces("application/json") AttachmentDto getAttachment(@PathParam("attachmentId") String attachmentId)
    • getAttachmentData

      @GET @Path("/{attachmentId}/data") @Produces("application/octet-stream") InputStream getAttachmentData(@PathParam("attachmentId") String attachmentId)
    • deleteAttachment

      @DELETE @Path("/{attachmentId}") @Produces("application/json") void deleteAttachment(@PathParam("attachmentId") String attachmentId)
    • addAttachment

      @POST @Path("/create") @Consumes("multipart/form-data") @Produces("application/json") AttachmentDto addAttachment(@Context jakarta.ws.rs.core.UriInfo uriInfo, MultipartFormData multipartFormData)