Listening for snappy events on snapd interface

Robert Ancell robert.ancell at
Tue Feb 2 23:22:43 UTC 2016


The snapd interface currently allows an application to poll for the state
of the snaps on a system either by getting the list of installed snaps or
polling for the result of an async operation (e.g. install / remove).

It would be desirable to be able to subscribe to an event stream on the
snapd interface so you could track all changes without polling. This would
- Code more efficient by removing the need to poll your own async operations
- A snapd client able to know when a separate client has installed /
removed / changed state of a snap.

For example if you do the folowing request to snapd:
GET /2.0/events
(snapd blocks)
(a client installs hello-world.canonical)
(snapd returns)

Does this feature make sense for snapd?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the snappy-devel mailing list