{
"begin_at": 1712985600,
"business_type": 0,
"cloud_to_cloud_id": "string",
"continuous_task_periods": [
[
0
]
],
"dom": [
[
1,
2,
3
]
],
"dow": [
[
1,
2,
3
]
],
"end_at": 1712985600,
"extended_begin_at": [
1712985600,
1712985600
],
"interval": 1,
"landing_dock_sn": "string",
"min_battery_capacity": 50,
"name": "string",
"out_of_control_action_in_flight": 1,
"push_c2c_organization_uuid": "string",
"repeat_type": 1,
"resumable_status": "auto",
"rth_altitude": 15,
"rth_mode": 0,
"sn": "SN123456",
"subscription_alert_cloud_to_cloud_frequency": 0,
"subscription_alert_email_frequency": 0,
"subscription_alert_phone_frequency": 0,
"subscription_alert_user_web_frequency": 0,
"subscription_receive_type": [
"email",
"phone",
"user_web",
"cloud_to_cloud"
],
"subscription_user_id": [
"string"
],
"tags": [
"tag1",
"tag2"
],
"task_type": 1,
"time_zone": "Asia/Chongqing",
"wayline_duration": 1712985600,
"wayline_precision_type": 0,
"wayline_uuid": "string",
"wom": 1
}
curl --location --request PUT '/openapi/v0.9/task/api/v1/workspaces//flight-tasks/"1234567890"' \
--header 'x-user-token;' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}' \
--header 'Content-Type: application/json' \
--data-raw '{
"begin_at": 1712985600,
"business_type": 0,
"cloud_to_cloud_id": "string",
"continuous_task_periods": [
[
0
]
],
"dom": [
[
1,
2,
3
]
],
"dow": [
[
1,
2,
3
]
],
"end_at": 1712985600,
"extended_begin_at": [
1712985600,
1712985600
],
"interval": 1,
"landing_dock_sn": "string",
"min_battery_capacity": 50,
"name": "string",
"out_of_control_action_in_flight": 1,
"push_c2c_organization_uuid": "string",
"repeat_type": 1,
"resumable_status": "auto",
"rth_altitude": 15,
"rth_mode": 0,
"sn": "SN123456",
"subscription_alert_cloud_to_cloud_frequency": 0,
"subscription_alert_email_frequency": 0,
"subscription_alert_phone_frequency": 0,
"subscription_alert_user_web_frequency": 0,
"subscription_receive_type": [
"email",
"phone",
"user_web",
"cloud_to_cloud"
],
"subscription_user_id": [
"string"
],
"tags": [
"tag1",
"tag2"
],
"task_type": 1,
"time_zone": "Asia/Chongqing",
"wayline_duration": 1712985600,
"wayline_precision_type": 0,
"wayline_uuid": "string",
"wom": 1
}'
{
"code": 0,
"message": "string",
"data": {
"task": {
"begin_at": [
1712985600
],
"uuid": [
"1234567890"
],
"wayline_validity_check_codes": [
1,
2,
3
]
}
}
}