1
0
Fork 0
mirror of https://github.com/badaix/snapcast synced 2025-09-15 13:02:33 +02:00
snapcast/control/scripts.md

323 B

Example HTTP requests

Command line requests

Requires curl and jq

Get all client names

curl --header "Content-Type: application/json" --request POST --data '{"id":1, "jsonrpc":"2.0", "method": "Server.GetStatus"}' http://127.0.0.1:1780/jsonrpc | jq .result.server.groups[].clients[].config.name