该方法用于添加日程
{
"add_location": true,
"group_uuid": "string",
"name": "string",
"description": "string",
"start_time": 0,
"end_time": 0,
"type": 0,
"loop_type": 0,
"custom_loop": 0,
"tags": [
"string"
],
"priority": 0,
"resources": [
"string"
]
}curl --location --request POST '/api/v1/schedule/' \
--header 'Referer: http://127.0.0.1:8888' \
--header 'Authorization: Bearer {{Token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"add_location": true,
"group_uuid": "string",
"name": "string",
"description": "string",
"start_time": 0,
"end_time": 0,
"type": 0,
"loop_type": 0,
"custom_loop": 0,
"tags": [
"string"
],
"priority": 0,
"resources": [
"string"
]
}'{
"output": "",
"code": 0,
"message": "",
"error_message": "",
"data": ""
}