Retrieve Internet Schedule

555

# Retrieve Internet Schedule

Path:

/api/internetschedule.json

Method: GET

API Description: This can be used to retrieve the current Internet schedule list for the terminal. (Internet schedules are issued by ColorlightCloud and can only be viewed but not modified via LAN.)

Note: Only supported in version 1.71.3 and later.

Example

{
    "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
        }
    ]
}