文档
测试

获取组件定义列表

POST
/client/getChartComponentDefList/{componentDefId}

接口描述

获取下级组件定义列表

请求头

参数名
类型
描述
必填
Authorization
String
用户token
必填

请求参数

参数名
类型
描述
必填
componentDefId
String
默认传0根级列表
必填

响应参数

参数名
类型
描述
必填
status
Integer
状态值(200成功,其他均为失败)
必填
error
String
失败原因
必填
payload
List<Object>
必填
id
Integer
组件ID
可选
name
String
组件名称
必填
parentId
Integer
父级ID
必填
config
String
组件需要配置的内容
必填
status
String
0禁用 1正常
必填
icon
String
图标
必填
type
String
NODE:节点 COMPONENT:具体组件
必填
remark
String
备注
必填
tag
String
标签
必填
defaultData
String
默认源数据
必填
count
Integer
当前节点下子组件数量
必填
createTime
String
创建时间
必填
updateTime
String
更新时间
必填
message
String
必填