get-osd-list

Use the interface to get the watermark list.

Request Mode

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

Response Body

JSON structure is as follows:

{
  "status": 0,
  "info":{
      "totalCount": 3,
      "pageIndex":0,
      "sceneList":[{...}]
      } 
}
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.
totalCount The total number of watermarks
2. Watermark List (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
            }
        ]

results matching ""

    No results matching ""

    results matching ""

      No results matching ""