Use this URL to selectively download the analysis report files.
Resource URL. GET https://<TIS_IP>/php/showreport.php
Input parameters
This URL takes iType and iTaskId or jobId or md5.
The Content-Type parameter in the HTTP header is not needed in this API. Instead specify an additional Expect: in the HTTP header.
Input parameter | Description | Data type |
|---|---|---|
| This must be a previously returned task ID when you submitted the sample. | Numeric |
| This must be a previously returned submission ID when you submitted the sample. | Numeric |
| iType can be one of the following types:
| String |
Output parameters
Content of the requested result file.
Note
When archive samples are sent for extraction and analysis, the overall verdict of the sample is the highest reported severity for the extracted contents. However, if the highest severity happens to be less than 3 and if one of the files within the archive sample is failed to be analyzed, then the overall verdict of the sample would be Failed (-2).
MD5 lookup is not cluster-aware, and therefore API user should either send MD5 lookup query to all the nodes, or use 64bit long jobID or taskID lookup to cluster IP.
Example
Input
https://<TIS_IP>/php/showreport.php?iTaskId=10&iType=html
https://<TIS_IP>/php/showreport.php?jobId=10&iType=json
https://<TIS_IP>/php/showreport.php?md5=E2CFE1C89703352C42763E4B458FC356&iType=html
Output
The output is the file content of the requested result file.
Input
https://<TIS_IP>/php/showreport.php?iTaskId=212&iType=sample
Output
The output is downloaded sample 212.zip associated with taskid 212.
Note
iTaskId=sample must only be used with iTaskId parameter.