The store uses sections to categorise snaps. We have an API in snapd (e.g.
/v2/find?section=<section name>) to return snaps in sections. I expected this to return all snaps in that section, but now I believe it only returns snaps that have a
featured-within-category database flag set - a subset of the snaps in that category.
It’s been previously discussed that we should have a means to browse though the categories, i.e. to look at what games are available. To do this we’ll need some new API that allows all snaps in a section to be returned. As this could be potentially very large we’d probably need a means of limiting the data returned. For example by returning only snap names or using pagination.
GNOME Software specifically has UI for this mode of browsing that we’d like to make work with snaps.
We need to decide:
- What means of browsing we want to support.
- What API needs adding to the store.
- What API needs adding to snapd.
- Implement this feature into GNOME Software / Snap Store.