识别任务查询
更新时间:2023-11-06
接口描述
本接口用于查询识别任务。
接口内容
GET /v1/detect
请求参数
参数名称 | 类型 | 是否必填 | 说明 |
---|---|---|---|
id | int | 否 | 任务号 |
deviceId | string | 否 | 设备号 |
注意:
- 不支持分页;
- id和deviceId为搜索条件,可以不填,不填表示不匹配该项数据。
响应参数
参数名称 | 类型 | 是否必填 | 说明 |
---|---|---|---|
message | string | 是 | 执行结果 |
请求示例
Plain Text
1Request:
2GET /v1/detect?id=1&deviceId=id1
3
4Response:
5{
6"data": [
7{
8"id": 1,
9"deviceId": "ABC",
10"frameId": 2,
11"ai": "face",
12"elapse": 10
13},{
14"id": 2,
15"deviceId": "ABC",
16"frameId": 2,
17"ai": "face",
18"elapse": 10
19}
20],
21"message": "Success"
22}