Skip to content

Add license information and filters to the search endpoint #1562

@davidgamez

Description

@davidgamez

Describe the problem

As a requirement for adding license filtering to the UI, we need to modify the v1/search endpoint to expose license information and support filtering.

Proposed solution

Add the following field to the v1/search endpoint:

  • license_id: Corresponding to the license id
  • license_is_spdx: Corresponding to is_spdx
  • license_name: Corresponding to the license name

Add the following filters to the v1/search endpoint:

  • license_id
  • license_is_spdx

Alternatives you've considered

We can scope down this issue by removing the license_is_spdx from the exposed values of the search and the filters.

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions