# 获取模型对比构件分类树
GET https://api.bimface.com/data/v2/comparisons/{compareId}/tree
# 参数
# Header
Authorization * | Bearer {accessToken} | string |
# Path
compareId * | 模型对比ID | integer (int64) |
# 响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | OK | GeneralResponse«Tree» |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
# 200响应参数
GeneralResponse«Tree»
名称 | 说明 | 类型 |
---|---|---|
code | 状态代码 | string |
data | 返回数据 | Tree |
message | 提示消息 | string |
# 生成
*/*
application/json
# HTTP请求示例
# 请求 path
https://api.bimface.com/data/v2/comparisons/2077707858585728/tree
# 请求 header
"Authorization: Bearer cn-e9725999-0b36-4c0e-bdca-38ea88888888"
# HTTP响应示例
# 响应 200
{
"code" : "success",
"data" : {
"items" : [ {
"actualName" : "幕墙竖梃",
"data" : null,
"elementCount" : 1,
"id" : "259456",
"items" : [ {
"actualName" : "矩形竖梃",
"data" : null,
"elementCount" : 0,
"id" : "23dd510dbdb44fe088b11b4fa08e95dc",
"items" : [ ],
"name" : "矩形竖梃",
"type" : "type"
} ],
"name" : "幕墙竖梃",
"type" : "category"
} ],
"root" : "楼层"
},
"message" : null
}
← 获取模型构件对比差异 分页获取模型对比结果 →