core.download

Core helper to call a job marked for download.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: method

method

Type: string
Parameter 2: args

args

Type: array
No Additional Items
Each item of this array must be:
Type: object
Parameter 3: filename

filename

Type: string
Parameter 4: buffered

buffered

Type: boolean Default: false

Non-buffered downloads will allow job to write to pipe as soon as download URL is requested, job will stay blocked meanwhile. buffered downloads must wait for job to complete before requesting download URL, job's pipe output will be buffered to ramfs.

Result

Type: array

Job ID and the URL for download.

Must contain a minimum of 2 items

Must contain a maximum of 2 items

No Additional Items

Tuple Validation

Item at 1 must be:
Type: integer
Item at 2 must be:
Type: string


Required roles: