Get 连接器配置参数描述(json结构),示例如下:
{
"attributes":{
"description":"测试", // 连接器的描述
"displayName":"测试", // 连接器的展示名
"name":"test", // 连接器的名称
"version":"1.0.0" // 连接器的版本号
},
"properties":[
{
"attributes":{
"displayName":"企业ID", // 参数的展示名
"name":"para1", // 参数名
"required":"true", // 是否必填
"type":"int" // 参数的类型
}
},
{
"attributes":{
"displayName":"成员管理密钥",
"name":"para2",
"required":"true",
"type":"float"
}
},
{
"attributes":{
"displayName":"应用管理密钥",
"name":"para3",
"required":"true",
"type":"string"
}
},
{
"attributes":{
"displayName":"企业ID",
"name":"para4",
"required":"true",
"type":"decimal"
}
},
{
"attributes":{
"displayName":"成员管理密钥",
"name":"para5",
"required":"true",
"type":"bool"
}
},
{
"attributes":{
"displayName":"应用管理密钥",
"name":"para6",
"required":"true",
"type":"date"
}
},
{
"attributes":{
"displayName":"企业ID",
"name":"para7",
"required":"true",
"type":"time"
}
},
{
"attributes":{
"displayName":"成员管理密钥",
"name":"para8",
"required":"true",
"type":"datetime"
}
},
{
"attributes":{
"displayName":"应用管理密钥",
"name":"para9",
"required":"true",
"type":"map"
},
"children":[
{
"attributes":{
"displayName":"key",
"name":"key",
"required":"true",
"type":"string"
}
},
{
"attributes":{
"displayName":"value",
"name":"value",
"required":"true",
"type":"any"
}
}
]
},
{
"attributes":{
"displayName":"企业ID",
"name":"para10",
"required":"true",
"type":"list" // list,list里元素的类型是结构体,children里是结构体的描述
},
"children":[
{
"attributes":{
"displayName":"field1",
"name":"field1",
"required":"true",
"type":"string"
}
},
{
"attributes":{
"displayName":"field2",
"name":"field2",
"required":"true",
"type":"any"
}
}
]
},
{
"attributes":{
"displayName":"成员管理密钥",
"name":"para11",
"required":"true",
"type":"struct"
},
"children":[
{
"attributes":{
"displayName":"field1", // 结构体属性的展示名
"name":"field1", // 结构体属性的名称
"required":"true", // 是否必填
"type":"string" // 属性的类型
}
},
{
"attributes":{
"displayName":"field2",
"name":"field2",
"required":"true",
"type":"any"
}
}
]
},
{
"attributes":{
"displayName":"应用管理密钥",
"name":"para12",
"required":"true",
"type":"enum"
},
"children":[
{
"attributes":{
"displayName":"PC", // 枚举值的展示名
"name":"PC" // 枚举值的名称
}
},
{
"attributes":{
"displayName":"MAC",
"name":"MAC"
}
}
]
}
]
}