Sonos API
29 | 30 | 36 | 37 |Global Control
39 |GET /lockvolumes
40 |GET /unlockvolumes
41 |GET /pauseall/{timeout in minutes (optional)}
42 |GET /resumeall/{timeout in minutes (optional)}
43 |GET /reindex
44 |GET /sleep/{timeout in seconds or timestamp HH:MM:SS or off}
45 |GET /preset/{JSON preset}
46 |GET /preset/{predefined preset name}
47 |Zone Control
51 |GET /{zone name}/{action}[/{parameter}]
52 | 53 |Actions
54 | 55 |Playback
56 |-
57 |
- play 58 |
- pause 59 |
- playpause toggles playing state 60 |
- trackseek/{seconds into song, i.e. 60 for 1:00, 120 for 2:00 etc.} 61 |
- next 62 |
- previous 63 |
Volume
66 |-
67 |
- volume/{absolute volume} 68 |
- volume/{+ or -}{relative volume} 69 |
- groupVolume/{absolute volume} 70 |
- groupVolume/{+ or -}{relative volume} 71 |
- mute 72 |
- unmute 73 |
- groupMute 74 |
- groupUnmute 75 |
- togglemute 76 |
- lockvolumes 77 |
- unlockvolumes experimental enforce the volume that was selected when locking! 78 |
Playback Settings
81 |-
82 |
- favorite 83 |
- playlist 84 |
- repeat/{on | off} 85 |
- shuffle/{on | off} 86 |
- crossfade/{on | off} 87 |
Queue
90 |-
91 |
- queue 92 |
- clearqueue 93 |
- seek/{queue index} 94 |
Room Grouping
97 |-
98 |
- add/{player name from existing zone, prefix with player you want to join} 99 |
- join/{player player to join in, prefix with player from current zone} (this is just the inverse of add) 100 |
- isolate 101 |
- ungroup (alias of isolate) 102 |
- leave (alias of isolate) 103 |
Other
106 |-
107 |
- say 108 |
Internals
111 |-
112 |
- state returns a json-representation of the current state of player 113 |