Progress status while performing snap refresh

Hi, I was wondering if it is possible to get the progress status of the snap being refreshed through snapd-rest api? or by any other means.

I know there is snap watch, but how can I do this in Ubuntu core with snapd rest api?

You can poke the changss endpoints, see Snapd REST API. Note that this will effectively require plugging the snapd-control interface, unless you’re accessing the API of a snap, so a simple user access should be sufficient.