update-scene-of-button
Use the interface to customize scenes for buttons.
Request Mode
POST http://ip/mwapi/update-button-mode
Parameter | Description |
---|---|
showId | The presentation ID |
sceneOfButton1 | The scene ID bound to the Button 1, required. |
sceneOfButton2 | The scene ID bound to the Button 2, required. |
sceneOfButton3 | The scene ID bound to the Button 3, required. |
sceneOfButton4 | The scene ID bound to the Button 4, required. |
sceneOfButton5 | The scene ID bound to the Button 5, required. |
{
"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. |