文档
测试

查询目标列表

GET
/uav_manage_1_0/target_list

请求头

参数名
类型
描述
必填
content-type
string
application/json
必填

请求参数

参数名
类型
描述
必填
start
int
开始的索引
必填
limit
int
返回的数量
必填
sort
string
默认desc。可选:desc或asc,表明是正序或逆序排列
可选
by_device_id
int
可以关联设备id进行查询
可选
by_target_id
int
根据目标的id
可选
by_task_id
int
可以关联任务id进行查询
可选
by_create_ts_from
int
根据目标创建的时间戳查询 (查询时间戳的下界)
可选
by_create_ts_to
int
根据目标创建的时间戳查询 (查询时间戳的上界)
可选

成功返回

参数名
类型
描述
必填
targets
array
侦察到的目标
必填
target_id
int
目标的id
必填
target_location_speed
object
位置+运动信息
必填
speed
float
速度
必填
angle
float
角度 ,正北为0度,顺时针旋转
必填
lng
float
经度
必填
lat
float
纬度
必填
task_id
int
目标关联的任务id
必填
task_info
string
任务的背景信息
必填
device_id
int
跟踪目标的无人机id
必填
time_period_id
int
对应的时间片
必填
target_create_ts
int
发现目标的时间
必填
target_execute_ts
int
执行目标的时间
必填
target_finish_ts
int
完成目标的时间
必填
target_status
string
目标的状态(已完成、已失败)
必填
target_video
string
视频文件
必填

失败响应

参数名
类型
描述
必填
code
int
错误码,0正确,大于0表示有错误,错误信息会通过msg返回
必填
msg
错误提示信息。
必填