Skip to content

We need an endpoint for fetching Labels #1637

@carlosthe19916

Description

@carlosthe19916

Requirement coming from :

https://issues.redhat.com/browse/TC-2497
https://issues.redhat.com/browse/TC-2498

Requirement:

  • Have a way to fetch all Labels of all SBOMs
  • Have a way to fetch all Labels of all Advisories

To be defined:

  • Do we need the Label endpoints to return ALL instances or return only a subset of them and allow the result to be filtered. E.g. GET /api/v2/sbom-labels?q=some_label?

Why do we need it:

Having the endpoints for Labels will allow the UI to populate the Label Dropdown Filter with all available Labels and let the user choose one of them to start the filtering process.

Image

There might be things we did still not discovered and we can use this issue to track any difficulties we find in the way and ask for feedback to the UX team if we need to change anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions