API Enhancements

For more information on API requests, please refer to the REST API Developers Guide available in Black Duck.

Enhanced project endpoints

The following endpoints have been updated to include OSS component pURL coordinates:

  • /api/projects/<projectId>/versions/<projectVersionId>/components
  • /api/projects/<projectId>/versions/<projectVersionId>/vulnerable-bom-components
  • /api/projects/<projectId>/versions/<projectVersionId>/components?filter=licensePolicy

Updated data-retention API endpoint

The following endpoint has been changed from a PUT to a PATCH request:

  • /api/settings/data-retention

New tool list API endpoint

A new public endpoint is now available to list all available tool versions:

  • /api/tools

New fetch for SBOM fields for specific project group

A new public endpoint is now available to read a project's SBOM fields:

  • /api/project-groups/{projectGroupId}/sbom-fields