Retrieve LAN Schedule
# Retrieve LAN Schedule
Path:
/api/lanschedule.json
Method: GET
API Description: This can be used to retrieve the current LAN schedule list for the terminal.
Example
When the schedule content is empty:
{
"code": 400,
"msg": "50017 The passed Json file is empty"
}
When the schedule content is not 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
}
]
}