add-launch-scene 接口

新建开机画面。

请求方式

POST http://ip/mwapi/add-launch-scene
参数 说明
sourceId 资源ID
{
    "sourceId":4
}

返回数据

{
    "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
}
属性 说明
status 返回状态。0:请求成功,返回其它值请参考 API 状态码
info 画面实体

与“”相关结果约

    找不到与“”相关的结果