Download report

To download an archived analysis report, send the GET analyses/<analysis_id:uuid>/archive:

curl -X GET https://vxcube.drweb.com/api-2.0/analyses/40e2fc98-1c2a-4112-81b5-a57df2cd22db/archive \

-H "Content-Type: application/json" \

-H "Authorization: api-key aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" \

-o <output_archive>

To download one of the report files, send the GET tasks/<task_id:number>/archive_storage request. A request example for downloading the PCAP file:

curl -X GET https://vxcube.drweb.com/api-2.0/tasks/18681/archive_storage \

-H "Content-Type: application/json" \

-H "Authorization: api-key aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" \

-d "{\"path\": \"network.pcap\"}" \

-o some_file