# 获取单模型管道的上游或下游构件
POST https://api.bimface.com/data/v1/pipe/files/{file-id}/elements/{element-id}/flow
# 描述
依据给定的管道构件id,和对应的筛选条件,获取上游或下游的符合筛选条件的构件。
# 参数
# Header
Authorization * | Bearer {accessToken} | string |
# Path
element-id * | 构件id | string |
file-id * | 文件id | string |
# Body
filter | 筛选条件,若不填写默认返回全部构件 | < Map«string,object» >array |
type | 上游:upstream;下游:downstream;不填写默认下游 | string |
# 响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | OK | GeneralResponseV1«List«string»» |
201 | Created | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
# 200响应参数
GeneralResponseV1«List«string»»
名称 | 说明 | 类型 |
---|---|---|
code | 样例: "code" | string |
data | 返回数据 | < string >array |
message | 提示信息 | string |
# 消耗
application/json
# 生成
*/*
application/json
# HTTP请求示例
# 请求 path
https://api.bimface.com/data/v1/pipe/files/string/elements/string/flow
# 请求 header
"Authorization: Bearer dc671840-bacc-4dc5-a134-97c1918d664b"
# 请求 body
{
"type":"upstream",
"filter":[{"type":"/FRAN"}]
}
# HTTP响应示例
# 响应 200
{
"code": "bimfaceservice-0000",
"message": null,
"data": [
"1317",
"1292",
"1320",
"1293",
"1323",
"1325",
"1327",
"1329",
"1331",
"1334",
"1338",
"1335",
"1341",
"1343",
"1345",
"1347",
"1349"
]
}