Get Task Attachment Content (binary)

Retrieves the binary content of a task attachment by task id and attachment id.

Method

GET /task/{id}/attachment/{attachmentId}/data

Parameters

Path Parameters

Name Description
id The id of the task.
attachmentId The id of the attachment to be retrieved.

Result

Byte Stream.

Response Codes

Code Media type Description
200 application/octet-stream Request successful.
404 application/json The attachment content for given task and attachment id does not exist or the history of the engine is disabled. See the Introduction for the error response format.

Example

Request

GET /task/aTaskId/attachment/aTaskAttachmentId/data

Response

Status 200. Byte Stream.

目录: