1. 获取构件属性的子属性名称
获取指定模型所有构件属性的子属性名称。
请求方式:POST
请求地址:/api/{databaseKey}/components/subAttributeNames?share={share}
1.1. 请求参数
Headers:
参数名 | 类型 | 示例 | 是否必填 | 参数含义 |
---|---|---|---|---|
Authorization | string | c4570cb9ca324bc8ba7dd9d1967710ea | 是 | 操作的通关令牌 |
PathParas:
参数名 | 类型 | 示例 | 是否必填 | 参数含义 |
---|---|---|---|---|
databaseKey | string | test | 是 | 数据库key,必传 |
SearchParas:
参数名 | 类型 | 示例 | 是否必填 | 参数含义 |
---|---|---|---|---|
share | string | NULL | 否 | 分享key |
Body
application/json:
{
"models":["M1571030750464"],
"attribute":"attribute.其他"
}
1.2. 参数说明
参数名 | 类型 | 示例 | 是否必填 | 参数含义 |
---|---|---|---|---|
models | 数组 | ["M1571030750464"] | 是 | 模型key数组 |
attribute | string | "attribute.其他" | 是 | 构件的属性 |
1.3. 正确返回
{
"code": "SUCCESS",
"message": "请求处理成功",
"data": [
"类型",
"高度偏移"
]
}
1.4. 状态码
状态码 | code | message | data | 原因 |
---|---|---|---|---|
400 | BAD_PARAMETER_VALUE | 参数(attribute)值不正确 | NULL | 当attribute参数错误时 |
1.5. 备注
暂无备注
1.6. 注意事项
1、models必填。
2、attribute必须以attribute开头,子属性层级用点号(.)表示。
3、当前用户应具有所有模型的浏览权限。