Create a new attachment on a task, containing a link to an external resource or an attached file
Swagger UIyaml/process-api/ runtime/ tasks/ {taskId}/ attachmentsThis endpoint can be used in 2 ways: By passing a JSON Body (AttachmentRequest) to link an external resource or by passing a multipart/form-data Object to attach a file.
NB: Swagger V2 specification does not support this use case that is why this endpoint might be buggy/incomplete if used with other tools. Attachment file Required name of the variable Description of the attachment, optional Type of attachment, optional. Supports any arbitrary string or a valid HTTP content-type. create an attachment containing a link to an external resource Indicates the attachment was created and the result is returned. · AttachmentResponse Can be any arbitrary value. When a valid formatted media-type (e.g. application/xml, text/plain) is included, the binary content HTTP response content-type will be set the given value. contentUrl:In case the attachment is a link to an external resource, the externalUrl contains the URL to the external content. If the attachment content is present in the Flowable engine, the contentUrl will contain an URL where the binary content can be streamed from.Path parameters
Request body multipart/form-data
filefilenamestringdescriptionstringtypestringRequest body application/json · TaskAttachmentCollectionResource
TaskAttachmentCollectionResourceResponses
typestringexternalUrlstring
requiredGrey names have no description in the spec