# 获取集成模型管道的上游或下游构件
POST https://api.bimface.com/data/v1/pipe/integrations/{integrate-id}/files/{file-id-hash}/elements/{element-id}/flow
# 说明
获取管道系统的上游或下游构件。
# 参数
# Header
Authorization * | Bearer {accessToken} | string |
# Path
element-id * | 构件id | string |
file-id-hash * | 子文件hash值 | string |
integrate-id * | 集成文件id | integer (int64) |
# 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 | 样例: "message" | string |
# 消耗
application/json
# 生成
*/*
application/json
# HTTP请求示例
# 请求 path
https://api.bimface.com/data/v1/pipe/integrations/2469540109043648/files/10000017820191/elements/905054/flow
# 请求 header
"Authorization: Bearer dc671840-bacc-4dc5-a134-97c1918d664b"
# 请求 body
{
"type":"downstream"
}
# HTTP响应示例
# 响应 200
{
"code": "bimfaceservice-0000",
"message": null,
"data": [
{
"end": "1343",
"path": [
"1295",
"1297",
"1299",
"1301",
"1303",
"1305",
"1289",
"1307",
"1309",
"1290",
"1312",
"1291",
"1317",
"1334",
"1338",
"1335",
"1341",
"1343"
],
"start": "1295"
}
]
}