Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added version and permissions

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

 

Descriptor

Value

HTTP Method

POST

Description

Triggers a Remote Provider import for the specified Remote Provider Application

Restricted

TrueRequired Permissions

Manage Remote Providers and Upload Scans

Version Introduced2.5.0

 

Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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

 

Sample Call:


Code Block
themeEclipse
curl --insecure -H 'Accept: application/json' -X POST http://localhost:8080/threadfix/rest/remoteprovider/remoteProviderApplication/4/import?apiKey={apiKey}

 

Sample Output:


Code Block
themeEclipse
{
    "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