Download files attached to a Codyt job.

URL

(GET) projects/{projectid}/tasks/{taskid}/attachment

PARAMETERS

token

The token obtained on connection

Required

projectid

The project.

Required

taskid

The unique task identifier

Required

name

The path/name of the file or files to download.

To download multiple files, separate the file names/paths by ":". The files will be zipped and the method returns a zip file.

If not set, all files are downloaded.

Optional

ontranslation

If true, attachments on the translated file are downloaded.

If false, attachments on the source file are downloaded.

By default the value is false.

Optional

zip

If set to "true", the downloaded file will be zipped. If omitted, the file is not zipped.

If there is more then one file, the files are automatically zipped.

Optional

 

RESULTS

Returns stream of bytes