LDWS API sendCecX Endpoint
This API is experimental and may change.
POST /v1/sendCecX/
Sends specified CEC payloads out of a player’s HDMI-1 port
Request Body
hexCommand
string: The custom Cec command, in hexadecimal format, sent from the player to the connected display.. You can use https://www.cec-o-matic.com/ to understand and convert commands.
Request Example
The example request parameters and headers are set as follows:
POST /api/v1/sendCecX/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
This is the example request body:
{
"hexCommand": "4f36"
}
Response Example
{
"data": {
"result": {
"success": true
}
}
}
Failure Response Examples
400: Invalid request parameter
500: Internal server error