add-launch-scene

Use the interface to add the landing scene.

Request Mode

POST http://ip/mwapi/add-launch-scene
Parameter Description
sourceId The source ID
{
    "sourceId":4
}

Response Body

{
    "info": {
        "audioList": [
            {
                "layerId": 0,
                "muted": 0,
                "volume": 1000000
            }
        ],
        "dividerLine": {
            "color": 0,
            "width": 0,
            "x1": 500000,
            "x2": 500000,
            "y1": 0,
            "y2": 1000000
        },
        "id": 25,
        "layerList": [
            {
                "cropWindow": {
                    "height": 1000000,
                    "type": 1,
                    "width": 1000000,
                    "x": 0,
                    "y": 0
                },
                "flip": 0,
                "frame": {
                    "color": 16777215,
                    "width": 0
                },
                "given": 0,
                "givenBg": 0,
                "rotation": 360,
                "sourceDuration": 0,
                "sourceHeight": 1461,
                "sourceId": 4,
                "sourceThumbHeight": 256,
                "sourceThumbWidth": 168,
                "sourceType": 1,
                "sourceWidth": 2224,
                "srcWindow": {
                    "height": 1000000,
                    "width": 856262,
                    "x": 71869,
                    "y": 0
                },
                "videoPolicy": 1,
                "window": {
                    "height": 1000000,
                    "width": 1000000,
                    "x": 0,
                    "y": 0
                }
            },
            {
                "cropWindow": {
                    "height": 1000000,
                    "type": 0,
                    "width": 1000000,
                    "x": 0,
                    "y": 0
                },
                "flip": 0,
                "frame": {
                    "color": 0,
                    "width": 0
                },
                "givenBg": 0,
                "rotation": 0,
                "sourceHeight": 0,
                "sourceId": 0,
                "sourceThumbHeight": 0,
                "sourceThumbWidth": 0,
                "sourceType": 0,
                "sourceWidth": 0,
                "srcWindow": {
                    "height": 1000000,
                    "width": 1000000,
                    "x": 0,
                    "y": 0
                },
                "window": {
                    "height": 0,
                    "width": 0,
                    "x": 0,
                    "y": 0
                }
            }
        ],
        "name": "default",
        "template": 2,
        "type": 3
    },
    "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.
info The scene information

results matching ""

    No results matching ""

    results matching ""

      No results matching ""