playback
setPlayModes
Use the setPlayModes command in the playback namespace to change group play modes, such as repeat, repeat one track, shuffle, and crossfade. See Play Modes for details.
Configure a play mode in the playModes array by adding a “true” or “false” value for the mode, or omit a play mode to leave it unchanged.
post/groups/{groupId}/playback/playMode
Request
- Base URLhttps://api.ws.sonos.com/control/api/v1
- URLhttps://api.ws.sonos.com/control/api/v1/groups/{groupId}/playback/playMode
- AuthOAuth 2 and HTTP bearer and API key in header X-Sonos-Api-KeyAuthorization code: https://api.sonos.com/login/v3/oauthToken URL: https://api.sonos.com/login/v3/oauth/access scopes: playback-control-all
Request body
Response
Request was successful.
Changes
No recorded changes to this operation across all 1 revision of this API.