Skip to content

api all codelocations

Rob Rati edited this page Nov 16, 2018 · 1 revision

The api/all-codelocations endpoint implements access to code locations information in the Blackduck instances. The difference between this endpoint and the standard api/codelocations endpoint is the number of items returned. Since armada is talking to multiple Blackduck instances it is possible a single entry exists in more than one instance. The standard api/codelocations endpoint will return a single entry which is the response from the first Blackduck instance with actual data. The api/all-codelocations endpoint will return a list of all responses to the query. This endpoint also must be providedn a identifier to retrieve, so it can not be used to list all code locations in all Blackduck instances.

The following HTTP methods are implemented:

GET - Retrieve component information

A GET request to the api/all-codelocations/{ID} endpoint will return code location information from all Blackduck instances that have the code location identifier {ID}.

NOTE: This endpoint may not exist in later revisions on armada. It is implemented on a trial basis to test it's usefulness and could be removed if it is found not to add value.

Clone this wiki locally