Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
/rest/{version}/scans/{scanId}/download/threadfix
Descriptor | Value |
---|---|
HTTP Method | GET |
Description | Outputs the .threadfix scan file associated with the given Scan ID. |
Required Permission | Download Scans |
Version Introduced | 2.8.3 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Sample Calls:
Code Block | ||
---|---|---|
| ||
curl --insecure -H 'Accept: application/json' -H 'Authorization: APIKEY {apiKey}' http://localhost:8080/threadfix/rest/latest/scans/{scanId}/download/threadfix
|
Sample Output:
Code Block | theme | Eclipse
---|
{
"message": "",
"success": true,
"responseCode": -1,
"object": "File saved in downloads as BW Web Demo_78"
}
|
Page Tree | ||
---|---|---|
|