get-osd-list 接口

获取水印列表

请求方式

 POST http://ip/mwapi/get-osd-list

返回数据

JSON 结构如下:

{
  "status": 0,
  "info":{
      "totalCount": 3,
      "pageIndex":0,
      "sceneList":[{...}]
      } 
}
1. 返回状态
"status": 0
属性 说明
status 返回状态。0:数据获取成功,返回其它值请参考 API 状态码
totalCount 水印总数
2. 水印列表 sceneList [{...}]
"sceneList":[
            {
                "dividerLine": {
                    "color": 0,
                    "width": 0,
                    "x1": 500000,
                    "x2": 500000,
                    "y1": 0,
                    "y2": 1000000
                },
                "id": 100,
                "layerList": [
                    {
                        "cropWindow": {
                            "height": 1000000,
                            "type": 0,
                            "width": 1000000,
                            "x": 0,
                            "y": 0
                        },
                        "flip": 0,
                        "frame": {
                            "color": 0,
                            "width": 0
                        },
                        "givenBg": 0,
                        "mediaProgress": 0,
                        "rotation": 360,
                        "sourceDuration": 0,
                        "sourceHeight": 1080,
                        "sourceId": 1,
                        "sourceThumbHeight": 144,
                        "sourceThumbWidth": 256,
                        "sourceType": 3,
                        "sourceWidth": 1920,
                        "srcWindow": {
                            "height": 1000000,
                            "width": 1000000,
                            "x": 0,
                            "y": 0
                        },
                        "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": "",
                "template": 2,
                "type": 3
            },
            {
                "audioList": [],
                "dividerLine": {
                    "color": 0,
                    "width": 0,
                    "x1": 500000,
                    "x2": 500000,
                    "y1": 0,
                    "y2": 1000000
                },
                "id": 101,
                "layerList": [
                    {
                        "cropWindow": {
                            "height": 1000000,
                            "type": 0,
                            "width": 1000000,
                            "x": 0,
                            "y": 0
                        },
                        "flip": 0,
                        "frame": {
                            "color": 0,
                            "width": 0
                        },
                        "givenBg": 0,
                        "rotation": 0,
                        "sourceHeight": 1080,
                        "sourceId": 1001,
                        "sourceThumbHeight": 0,
                        "sourceThumbWidth": 0,
                        "sourceType": 7,
                        "sourceWidth": 1920,
                        "srcWindow": {
                            "height": 1000000,
                            "width": 1000000,
                            "x": 0,
                            "y": 0
                        },
                        "thumbHeight": 144,
                        "thumbWidth": 256,
                        "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,
                        "sourceDuration": 0,
                        "sourceHeight": 1080,
                        "sourceId": 2039,
                        "sourceThumbHeight": 0,
                        "sourceThumbWidth": 0,
                        "sourceType": 1,
                        "sourceWidth": 1920,
                        "srcWindow": {
                            "height": 1000000,
                            "width": 1000000,
                            "x": 0,
                            "y": 0
                        },
                        "window": {
                            "height": 1000000,
                            "width": 1000000,
                            "x": 0,
                            "y": 0
                        }
                    }
                ],
                "name": "note",
                "template": 0,
                "type": 4
            }
        ]

与“”相关结果约

    找不到与“”相关的结果

    与“”相关结果约

      找不到与“”相关的结果