api reference
Examples
# What is playing everywhere?
curl -s http://server:7090/api/v1/zones | jq -r '.zones[] | "\(.name): \(.track.title // "—")"'
# Pause the kitchen, then turn it down a notch
curl -X POST http://server:7090/api/v1/zones/3/pause
curl -X PUT http://server:7090/api/v1/zones/3/volume -d '{"delta":-5}'
# Follow every change
curl -N http://server:7090/api/v1/events
This chapter is rendered from INTEGRATING.md in sonn-audio/core — the API's single source of truth, kept next to the code it describes.