知眸核心版开放平台
  1. 应用
知眸核心版开放平台
  • 核心版开放接口
    • 部署文档
    • 更新记录
    • 接口说明
    • 接口错误码
    • 授权
      • 授权接口
    • 应用
      • 获取应用列表
        GET
      • 下发应用
        POST
      • 修改应用配置
        PUT
      • 删除应用
        DELETE
    • 任务
      • 创建分析任务
      • 配置分析任务
      • 上报任务图片
      • 上报任务飞行状态数据
      • 关闭分析任务
      • 获取分析任务列表
      • 指定规则AI直播推流
      • 关闭AI直播推流
    • 回调
      • Mqtt任务数据订阅
      • 消息回调接口
    • 报告
      • 导出任务报告
      • 图片比对报告
    • 优化
      • 申请任务效果优化
  1. 应用

获取应用列表

GET
{{url}}/api/app
获取当前系统安装的应用列表

请求参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/api/app' \
--header 'Authorization: Bearer '

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "msg": "string",
    "data": {
        "apps": [
            {
                "app_id": "string",
                "name": "string",
                "description": "string",
                "is_trial": true,
                "trial_expired_at": 0,
                "updated_at": 0,
                "rules": [
                    {
                        "rule_id": "string",
                        "name": "string",
                        "interval": 0,
                        "disable": true,
                        "is_license_expired": true,
                        "license_expired_at": 0,
                        "class_area": {
                            "enable": true,
                            "class_names": [
                                "string"
                            ],
                            "color": "string",
                            "threshold": 0,
                            "point_type": 0,
                            "area_type": 0,
                            "point_distance": {
                                "enable": true,
                                "area_position": 0,
                                "numeric_type": 0,
                                "min": 0,
                                "max": 0
                            }
                        },
                        "classes": [
                            {
                                "class_id": "string",
                                "name": "string",
                                "color": "string",
                                "threshold": 0,
                                "min_pixel": 0,
                                "max_pixel": 0,
                                "attribute": {
                                    "enable": true,
                                    "type": "string",
                                    "class_name": "string"
                                },
                                "classify": {
                                    "enable": true,
                                    "mode": "string",
                                    "attrs": [
                                        {
                                            "attr_id": "string",
                                            "name": "string",
                                            "options": [
                                                {
                                                    "option_id": "string",
                                                    "name": "string"
                                                }
                                            ]
                                        }
                                    ]
                                }
                            }
                        ],
                        "counter": {
                            "enable": true,
                            "numeric_type": 0,
                            "distance": 0,
                            "min_count": 0,
                            "max_count": 0,
                            "class_counts": [
                                {
                                    "class_id": "string",
                                    "min_count": 0,
                                    "max_count": 0
                                }
                            ],
                            "group_counts": [
                                {
                                    "class_ids": [
                                        "string"
                                    ],
                                    "min_count": 0,
                                    "max_count": 0
                                }
                            ]
                        }
                    }
                ]
            }
        ]
    }
}
修改于 2026-01-03 11:19:50
上一页
授权接口
下一页
下发应用
Built with