{
"name": "斗战影红给热",
"sn": "DOCKSN1",
"landing_dock_sn": "DOCKSN2",
"time_zone": "Asia/Chongqing",
"wayline_uuid": "3f6fa0d6-765d-4b7d-92c5-1a2213b8c0f0",
"rth_altitude": 24,
"out_of_control_action_in_flight": 2,
"resumable_status": "auto",
"task_type": 1
}
curl --location --request POST '/task/api/v1.0/projects//flight-tasks' \
--header 'X-Organization-Key: {{organization_key}}' \
--header 'X-Organization-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "斗战影红给热",
"sn": "DOCKSN1",
"landing_dock_sn": "DOCKSN2",
"time_zone": "Asia/Chongqing",
"wayline_uuid": "3f6fa0d6-765d-4b7d-92c5-1a2213b8c0f0",
"rth_altitude": 24,
"out_of_control_action_in_flight": 2,
"resumable_status": "auto",
"task_type": 1
}'
{
"body": {
"code": 0,
"data": {
"task": {
"begin_at": 1718705485,
"uuid": "1280bab3-3b0d-4517-a53c-3257e48319e5",
"wayline_validity_check_codes": null
}
},
"message": "success"
},
"headers": {},
"size": 152,
"status": 200
}