Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

/rest/{version}/remoteprovider/remoteProviderApplication/{remoteProviderApplicationId}/import

Note

This endpoint was deprecated in version ThreadFix version 2.8.3 and replaced with Import Remote Provider Scans for Application - API

Descriptor

Value

HTTP Method

POST

Description

Triggers a Remote Provider import for the specified Remote Provider Application

Required Permissions

Manage Remote Providers and Upload Scans

Version Introduced

2.5.0

NOTES

This REST call is abrogated by the Import Remote Provider Scans for Application
REST call introduced in ThreadFix 2.7.8.

This REST call may still be used, but will eventually be deprecated.

Change in 2.8.3

Deprecated and replaced with Import Remote Provider Scans for Application - API

Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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

Sample Call:

Eclipse
Code Block
theme
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {API Key}" -X POST http://localhost:8080/threadfix/rest/latest/remoteprovider/remoteProviderApplication/4/import

Sample Output:

Eclipse
Code Block
theme
{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": "Remote provider import accepted",
    "links": [
        {
            "method": "GET",
            "rel": "self",
            "href": "http://localhost:8080/threadfix/rest/remoteprovider/remoteProviderApplication/4/status"
        }
    ]
}


Page Tree
rootRemote Providers API