{
"device_sn": "string",
"max_speed": 0,
"points": [
{
"height": 2,
"latitude": 0,
"longitude": 0
}
],
"start_point": {
"height": 0,
"latitude": 0,
"longitude": 0
}
}curl --location --request POST '/openapi/v0.9/task/api/v1/workspaces//flight-tasks/fly-to-points' \
--header 'x-user-token: {{x-user-token}}' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_sn": "string",
"max_speed": 0,
"points": [
{
"height": 2,
"latitude": 0,
"longitude": 0
}
],
"start_point": {
"height": 0,
"latitude": 0,
"longitude": 0
}
}'{
"code": 0,
"message": "string",
"data": {
"flight_id": "string",
"fly_to_id": "string"
}
}