REST API counterpart for 'snap connections <snap-name>'

I’m sorry, but the Snapd REST API did not include a proper description of the parameters you can pass to the /v2/connections endpoint. I’ve update the documentation now. Feel free to ask if you have any further questions regarding the API.