Snapd API and wait


the snapd command has the wait arg.
Is it possible to use wait in the snapd API, with both the snapd and snapctl sockets ?

Or is wait just a cli wrapper for API polling in the background ?

Thanks !


Indeed, wait is just a loop calling the /v2/snaps/system/conf endpoint:

Thanks for confirming Ian :+1:

Cheers, Just

1 Like