The snap-refresh-observe
interface permits tracking snap refreshes and their inhibition.
It is intended to be used only to mark the existence of a refresh awareness client, such as snapd-desktop-integration snap.
Interface documentation:
See Interface management and Supported interfaces for further details on how interfaces are used.
Developer details
Auto-connect: no
Super-privileged: yes
Endpoint access permissions
- /v2/changes
- /v2/changes/{id}
- /v2/icons/{name}/icon
- /v2/notices
- /v2/notices/{id}
- /v2/snaps
- /v2/snaps/{name}
Code examples
The test code can be found in the snapd repository: snapd/interfaces/builtin/snap_refresh_observe_test.go at master · canonical/snapd · GitHub
The source code for the interface is in the snapd repository: snapd/interfaces/builtin/snap_refresh_observe.go at master · canonical/snapd · GitHub