update-button-mode

Use the interface to update the button binding mode.

Request Mode

 POST http://ip/mwapi/update-button-mode
Parameter Description
showId The presentation ID
modeOfButton The button binding mode.
0: Default. Buttons are bound to pre-built scenes.
1: Custom. Buttons are bound to scenes specified by the user.
2: Auto. Buttons are bound to the first five created scenes.
{
    "modeOfButton":1,
    "showId":1
}

Response Body

JSON structure is as follows:

{
    "message": "success",
    "status": 0
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""