We need to be able to query snap by common id. Now the common id is available as a snap app attribute, but we still need to be able to find them.
Both KDE Discover and Gnome Software need to be able to open urls such as appstream://org.something.something. I want to be able to offer the snap as an alternative.
Furthermore, in Discover we do have a feature to show the other sources of a package when on an application. I would like to also be able to offer Snaps.
The lack of this functionality is blocking streamlined integration of snaps in KDE Discover. This can help improve the visibility and the user experience for KDE users querying software through the official frontend.
@Igor, the Store search API endpoint will soon support filtering snaps by common-id (exact match), this feature will be also exposed in snapd /v2/find API.
It should cover the proposed use-case and once itβs released we can start exploring more options.