Versions Compared

Key

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

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


Descriptor

Value

HTTP Method

GET

Description

Returns the Versions for a BlackDuck Black Duck Remote Provider Application.  Using this call with an application from any other Remote Provider will return null.

Restricted

True

 

Required Permission

Manage Remote Providers

Version Introduced2.5.0


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

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

 


Sample Calls:


Code Block
themeEclipse
curl --insecure -H 'Accept: application/json' -H "Authorization: APIKEY {API Key}" http://localhost:8080/threadfix/rest/latest/remoteprovider/remoteProviderApplication/14/versions?apiKey={apiKey}

 


Sample Output:


Code Block
themeEclipse
{
     "totalCountsuccess": 1true,
     "itemsmessage": ["",
        {             "versionNameresponseCode": "v1.-1",
             "_metaobject": [
    {
                     "linksnativeName": [
                    {
                        "href "versionName",
      "reportUrl": "httphttps://blackduck.com/version1.1"
                    }
                ]
            }
        }
   url/api/versions/string/reports",
      "nativeId": "1"
    }
  ]
}


Page Tree
rootRemote Providers API