delete-scene

Use the interface to delete a scene.

Request Mode

 POST http://ip/mwapi/delete-scene
Parameter Description
sceneIds The scene ID
Uses "," to separate multiple IDs.
showId The presentation ID
{
  "sceneIds":"100",
  "showId":7
}

Response Body

JSON structure is as follows:

{
  "status": 0,
}
1. Response Status
"status": 0
Name Description
status 0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values.

2. The scene to delete is being edited. (Other non-editing scenes in this request sequence will be deleted successfully.)

{
    "info": {
        "editSceneId": 112
    },
    "message": "device busy",
    "status": 11
}

3. Parameter Error of sceneIds or showId

{
    "status": 48,
    "message": "Scene is not in current presentation"
}

results matching ""

    No results matching ""