Versions Compared

Key

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

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

 

Descriptor

Value

HTTP Method

GET

Description

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

Restricted

TrueRequired 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' http://localhost:8080/threadfix/rest/remoteprovider/remoteProviderApplication/14/versions?apiKey={apiKey}

 

Sample Output:


Code Block
themeEclipse
{
    "totalCount": 1,
    "items": [
        {
            "versionName": "v1.1",
            "_meta": {
                "links": [
                    {
                        "href": "http://blackduck.com/version1.1"
                    }
                ]
            }
        }
    ]
}


Page Tree
rootRemote Providers API