Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
/rest/{version}/remoteprovider/{remoteProviderId}/importAllForApplication/{appId}
Descriptor | Value |
---|---|
HTTP Method | POST |
Description | Triggers a Remote Provider import for the specified Remote Provider Application. Supports importing when multiple remote provider applications are mapped to one |
application in ThreadFix. | |
Required Permissions | Manage Remote Providers and Upload Scans |
Version Introduced | 2.7.8 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Sample Call:
Code Block |
---|
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {API Key}" -X POST http://localhost:8080/threadfix/rest/latest/remoteprovider/1/importAllForApplication/4 |
Sample Output:
Code Block |
---|
{ "message": "", "success": true, "responseCode": -1, "object": "Importing scans.", "links": [ { "method": "GET", "rel": "self", "href": "http://localhost:8080/threadfix/rest/Latest/remoteprovider/remoteProviderApplication/2603/status" }, { "method": "GET", "rel": "self", "href": "http://localhost:8080/threadfix/rest/Latest/remoteprovider/remoteProviderApplication/2604/status" }, { "method": "GET", "rel": "self", "href": "http://localhost:8080/threadfix/rest/Latest/remoteprovider/remoteProviderApplication/2605/status" } ] } |
Page Tree | ||
---|---|---|
|