获取任务管理POI任务
GET
/openapi/v0.9/task/api/v1/workspaces/{proj_uuid}/flight-tasks/poi-task
es-task-service
请求参数
Path 参数
proj_uuid
string
必需
Query 参数
device_sn
string
设备SN
示例值:
"SN123456"
Header 参数
x-user-token
string
必需
默认值:
{{x-user-token}}
X-Request-Id
string
可选
默认值:
{% mock 'uuid' %}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/openapi/v0.9/task/api/v1/workspaces//flight-tasks/poi-task?device_sn="SN123456"' \
--header 'x-user-token;' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}'
返回响应
🟢200成功
application/json
Body
HTTP响应模板
code
integer
响应码
message
string
响应消息
data
object
响应数据
center_point
object
中心点
circle_radius
number
可选
example: 10.0
circle_speed
number
可选
example: 5.0
drone_sn
string
可选
example: "SN123456"
execute_duration
integer
可选
example: 3600
max_circle_speed
number
可选
example: 10.0
reason
integer
可选
example: 1
status
string
可选
example: "running"
示例
{
"code": 0,
"message": "string",
"data": {
"center_point": {
"height": 0,
"latitude": 0,
"longitude": 0
},
"circle_radius": 0,
"circle_speed": 0,
"drone_sn": "string",
"execute_duration": 0,
"max_circle_speed": 0,
"reason": 0,
"status": "string"
}
}
修改于 2025-07-01 03:14:16