loadLineIn
Use the loadLineIn command in the playback namespace to change the current group source to the line-in source of a specified player. This can be be any player in the household that supports line-in. See Using Line-In on Sonos on the Sonos Support site for more details about the line-in capabilities of our players.
You can tell whether a player has line-in capabilities with the LINE_IN value in the capabilities object. See the groups object for details.
The player will switch away from the line-in source when the hardware detects that the user has physically unplugged the line-in cable.
Request
- Base URLhttps://api.ws.sonos.com/control/api/v1
- URLhttps://api.ws.sonos.com/control/api/v1/groups/{groupId}/playback/lineIn
- 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
See the x-muse-error-codes extension for a list of muse errors that generate this response
This object represents an empty (default) success. The platform returns an empty object ({}).
Changes
No recorded changes to this operation across all 1 revision of this API.