Use getOptions
in the homeTheater
namespace to get homeTheaterOptions
such as nightMode
and enhanceDialog
. See the homeTheaterOptions
type for details.
Endpoint
GET
1 |
/players/{playerId}/homeTheater/options |
Request Parameters
There are no request parameters in the body, all of the request parameters are in the header.
This command requires a playerId
to determine the target of the command. See Control for details.
Response
Returns a homeTheaterOptions
object representing the state of the group.
If not successful, returns a globalError
.
Examples
Request
1 |
GET https://api.ws.sonos.com/control/api/v1/players/{playerId}/homeTheater/options |
Response
1 2 3 4 |
{ "nightMode": true, "enhanceDialog": true } |