vulnerablecode icon indicating copy to clipboard operation
vulnerablecode copied to clipboard

Streamline data returned by the API

Open pombredanne opened this issue 2 years ago • 1 comments

There is too much data returned by default in API listings.

  • too many records: 100 is too much at once
  • too much data: we return the whole details in the details

We should review and design a better API to get less details.

pombredanne avatar Jun 17 '22 09:06 pombredanne

Just to provide a user perspective: we have a need to present a list of Packages, and the main thing we want to know when presenting the list is Yes/No is there a vulnerability for that Package, and note that we use a PURL to identify each package. After that, the user can drill down on a specific package to get the details (Summary, Reference IDs, Reference URLs) and we certainly would like to be able to get the "fixed packages" information when that is ready.

DennisClark avatar Jul 19 '22 15:07 DennisClark