POST /v2/tasks/{taskId}/attachments
POST
/v2/tasks/{taskId}/attachments
Parameters
Path Parameters
taskId*integer
Request Body
multipart/form-data
file
string
Format
"binary"Responses
OK
{
"id": "string",
"fileName": "string",
"fileUrl": "string",
"contentType": "string",
"name": "string",
"previewFileName": "string",
"hasPreview": true,
"fileExtension": "string",
"eTag": "string",
"fileSizeInBytes": 0,
"fileSizeInKb": 0,
"createdDate": "string",
"createdByUserId": "string",
"createdByUser": "string",
"lastModified": "string",
"lastModifiedByUserId": "string",
"lastModifiedByUser": "string",
"mimeType": "string",
"isImage": true
}
POST
/v2/tasks/{taskId}/attachments