List attachments on a task

GET {{baseUrl}}/tasks/:taskId/attachments?includeUserIds=false

List attachments on a task.

Request Params

KeyDatatypeRequiredDescription
includeUserIdsbooleanIndication to include OTDS Id instead of email for users in the response.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"content":[[{"description":"SampleDescription","externalUrl":"https://..","id":"96a380a8-9b2e-11ea-b2b1-50e08558ee22","links":{"empty":true},"name":"SampleAttachment","time":"1978-04-02T09:36:09.371Z","type":"SampleType","userId":"SampleUser"},{"description":"SampleDescription","externalUrl":"https://..","id":"96a380a8-9b2e-11ea-b2b1-50e08558ee22","links":{"empty":false},"name":"SampleAttachment","time":"1973-04-06T23:58:50.499Z","type":"SampleType","userId":"SampleUser"}],[{"description":"SampleDescription","externalUrl":"https://..","id":"96a380a8-9b2e-11ea-b2b1-50e08558ee22","links":{"empty":true},"name":"SampleAttachment","time":"2003-08-02T03:19:30.238Z","type":"SampleType","userId":"SampleUser"},{"description":"SampleDescription","externalUrl":"https://..","id":"96a380a8-9b2e-11ea-b2b1-50e08558ee22","links":{"empty":true},"name":"SampleAttachment","time":"2002-05-26T09:21:41.269Z","type":"SampleType","userId":"SampleUser"}]],"links":{"empty":true}}