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.

RESPONSES

status: OK

{"content":[[{"description":"SampleDescription","externalUrl":"https://..","id":"96a380a8-9b2e-11ea-b2b1-50e08558ee22","links":{"empty":true},"name":"SampleAttachment","time":"1988-08-25T22:14:02.444Z","type":"SampleType","userId":"SampleUser"},{"description":"SampleDescription","externalUrl":"https://..","id":"96a380a8-9b2e-11ea-b2b1-50e08558ee22","links":{"empty":true},"name":"SampleAttachment","time":"1981-02-13T20:24:53.483Z","type":"SampleType","userId":"SampleUser"}],[{"description":"SampleDescription","externalUrl":"https://..","id":"96a380a8-9b2e-11ea-b2b1-50e08558ee22","links":{"empty":false},"name":"SampleAttachment","time":"1979-07-19T06:00:23.178Z","type":"SampleType","userId":"SampleUser"},{"description":"SampleDescription","externalUrl":"https://..","id":"96a380a8-9b2e-11ea-b2b1-50e08558ee22","links":{"empty":true},"name":"SampleAttachment","time":"1948-12-10T21:41:30.785Z","type":"SampleType","userId":"SampleUser"}]],"links":{"empty":false}}