广联达筑联:工业级物联网云平台 广联达筑联:工业级物联网云平台
首页
开发侧文档
用户侧文档
首页
开发侧文档
用户侧文档
  • 平台介绍

  • 物联网平台

  • 边缘计算平台

  • 应用硬件开发平台

  • API文档

    • 边缘

      • 方案列表查询
        • 基本信息
      • 方案版本列表
      • 新建边缘实例
      • 更新边缘实例
      • 删除边缘实例
      • 边缘实例详情查询
      • 获取安装脚本
      • 部署方案
    • 模型

    • 设备

    • 数据

    • 天气

    • 项目

  • 开发侧文档
  • API文档
  • 边缘
2021-11-22

方案列表查询

# 方案列表查询

# 基本信息

API Path /pmpp/edge/v2/solution/list

请求协议 HTTP

请求方法 GET

Query参数:

参数名 说明 必填 类型 限制 示例
productId 产品id 是 [int]
solutionName 通过方案名称、地址进行筛选 否 [string]
labels 通过方案标签进行筛选,格式:key=value,key2=value2 否 [string]
pageIndex 分页编号 是 [int]
pageSize 分页大小 是 [int]

响应内容:

返回结果

Json Array

参数名 说明 必填 类型 值可能性 限制 示例
create_time - 否 [int]
create_user 创建人 否 [string]
description 描述 否 [string]
id - 否 [int]
latest_version 最新版本 否 [string]
name 名称 是 [string]
product_id 产品Id 是 [int]
shared 共享开关 否 [int]
update_time - 否 [int]
labels 方案标签 否 [array]
labels>>id 标签 ID 否 [int]
labels>>create_time 否 [int]
labels>>update_time 否 [int]
labels>>solution_id 方案 ID 否 [int]
labels>>key 键 否 [string]
labels>>value 值 否 [string]
labels>>description 描述 否 [string]
message 否 [string]
returnCode 否 [int]
message 否 [string]
returnCode 否 [int]

成功示例:

{
    "recordTotal": 1,
    "totalPage": 1,
    "currentPage": 1,
    "records": [
        {
            "id": 3107,
            "create_time": 1636430451,
            "update_time": 1636430451,
            "user_id": 6769783693198385547,
            "product_id": 21,
            "name": "a123",
            "shared": 0,
            "description": "",
            "labels": [
                {
                    "id": 32,
                    "create_time": 1636430451,
                    "update_time": 1636430451,
                    "solution_id": 3107,
                    "key": "111",
                    "value": "11",
                    "description": ""
                },
                {
                    "id": 33,
                    "create_time": 1636430451,
                    "update_time": 1636430451,
                    "solution_id": 3107,
                    "key": "22",
                    "value": "22",
                    "description": ""
                }
            ],
            "latest_version": "111",
            "create_user": "test"
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

失败示例:

{
  "message": "参数错误",
  "returnCode": 400
}
1
2
3
4
上次更新: 2021-12-01 16:48:01

← SDK使用说明 方案版本列表→

  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式