snap-refresh-observe-interface¶
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.
Tip
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: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/snap_refresh_observe_test.go
The source code for the interface is in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/snap_refresh_observe.go