Export portable task archive
POST
/tasks/{id}/export/bundleExports an encrypted .pa-task-export archive containing the task and portable dependencies.
Contract
Parameter | Value |
|---|---|
| Section | tasks |
| Authentication | CookieAuth |
| Consumes | application/json |
| Produces | application/octet-stream |
Parameters
2 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Task ID |
| request | body | no | object | Options for including file payloads |
{ "includeFilePayloads": true, "includeMalwarePayloads": true }
Responses
5 responses
Status | Description | Type |
|---|---|---|
200 | .pa-task-export archive | file |
400 | Invalid request | object |
401 | Unauthorized | object |
409 | A task dependency is missing; the archive would be incomplete | object |
500 | Failed to generate archive | object |
{}{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }