获取局域网排程信息

555

# 获取局域网排程信息

Path:

/api/lanschedule.json

Method: GET

接口描述: 获取终端当前局域网排程列表

响应示例 排程内容为空时

{
    "code": 400,
    "msg": "50017 The passed Json file is empty"
}

不为空时

    "commandSchedule": [
        {
            "operation": {
                "author_url": "api/action",
                "karma": 1,
                "content": "sleep"
            },
            "op_time": [
                "16:48:21"
            ],
            "if_limit_date": false,
            "limit_date": {
                "start": "2018-12-13",
                "end": "2018-12-13"
            },
            "if_limit_weekday": false,
            "limit_weekday": [
                true,
                true,
                true,
                true,
                true,
                true,
                true
            ]
        }
    ],
    "contentsSchedule": [
        {
            "limit_date": {
                "end": "2018-12-14",
                "end_time": "23:59:59",
                "start": "2018-12-14",
                "start_time": "00:00:00"
            },
            "limit_time": {
                "end_time": "18:00:00",
                "start_time": "06:00:00"
            },
            "limit_weekday": [
                true,
                true,
                true,
                true,
                true,
                true,
                true
            ],
            "operation": {
                "name": "Playlist2924",
                "source": "internet",
                "vsn": "Playlist2924_B9D968E64941B7EE026D65448079583F_1341.vsn",
                "id": 22729
            },
            "if_limit_date": false,
            "priority": 0,
            "if_limit_time": false,
            "if_limit_weekday": false,
            "type_priority": 200
        }
    ]
}