Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In the API, enable to filter the packages of a project by PURL #1449

Closed
AnotherDaniel opened this issue Nov 13, 2024 · 2 comments
Closed

In the API, enable to filter the packages of a project by PURL #1449

AnotherDaniel opened this issue Nov 13, 2024 · 2 comments

Comments

@AnotherDaniel
Copy link

When using the REST API, it would be useful to be able to filter project packages by PURL, like this:

http://localhost:8001/api/projects/<uuid>/packages/?purl=pkg:cargo/[email protected]

tdruez added a commit that referenced this issue Nov 21, 2024
tdruez added a commit that referenced this issue Nov 21, 2024
tdruez added a commit that referenced this issue Nov 21, 2024
Signed-off-by: tdruez <[email protected]>
tdruez added a commit that referenced this issue Nov 21, 2024
* Enable filtering on Project API actions #1449

Signed-off-by: tdruez <[email protected]>

* Refactor the API action filtering to remove duplication #1449

Signed-off-by: tdruez <[email protected]>

* Add documentation #1449

Signed-off-by: tdruez <[email protected]>

---------

Signed-off-by: tdruez <[email protected]>
@tdruez
Copy link
Contributor

tdruez commented Nov 21, 2024

@AnotherDaniel thanks for the suggestion, added in #1450

@tdruez tdruez closed this as completed Nov 21, 2024
@AnotherDaniel
Copy link
Author

Wow that was fast, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants