Skip to content

feat(api/list): allow filtering the list of snaps#30

Merged
Perfect5th merged 2 commits intocanonical:mainfrom
lengau:work/list-filter-snaps
Jan 30, 2026
Merged

feat(api/list): allow filtering the list of snaps#30
Perfect5th merged 2 commits intocanonical:mainfrom
lengau:work/list-filter-snaps

Conversation

@lengau
Copy link
Contributor

@lengau lengau commented Jan 29, 2026

This allows filtering the list of install snaps server side using the snaps request parameter to the API:
https://snapcraft.io/docs/snapd-api#heading--snaps

It is backwards compatible, as the snaps parameter is optional.

@lengau lengau changed the title feat(api/list(): allow filtering the list of snaps feat(api/list): allow filtering the list of snaps Jan 29, 2026
@lengau lengau force-pushed the work/list-filter-snaps branch from 3f2af2f to 4385cab Compare January 29, 2026 17:48
@lengau lengau marked this pull request as draft January 29, 2026 17:50
@lengau lengau marked this pull request as ready for review January 29, 2026 18:11
Perfect5th
Perfect5th previously approved these changes Jan 29, 2026
Copy link
Contributor

@Perfect5th Perfect5th left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manual testing looks good and the code changes LGTM.

Please resolve conflicts introduced by #28 and should be good to merge.

This allows filtering the list of install snaps server side using the
`snaps` request parameter to the API:
https://snapcraft.io/docs/snapd-api#heading--snaps

It is backwards compatible, as the snaps parameter is optional.

Signed-off-by: Alex Lowe <alex.lowe@canonical.com>
@lengau
Copy link
Contributor Author

lengau commented Jan 30, 2026

Rebased on main.

@Perfect5th Perfect5th merged commit e79e4ff into canonical:main Jan 30, 2026
4 checks passed
@lengau lengau deleted the work/list-filter-snaps branch January 30, 2026 22:42
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

Successfully merging this pull request may close these issues.

2 participants