Versions Compared

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 Introduced2.8.3


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

A value of ‘application/json’ must be provided.

Request GET Parameters

Parameter

Value

Required

Description

scanIdIntegerYesScan ID of the scan to be downloaded.


Sample Calls:


Code Block
themeEclipse
curl --insecure -H 'Accept: application/json' -H 'Authorization: APIKEY {apiKey}' http://localhost:8080/threadfix/rest/latest/scans/{scanId}/download/threadfix

Sample Output:


Code Block
themeEclipse
{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": "File saved in downloads as BW Web Demo_78"
}


Page Tree
rootScans API