You need to enable JavaScript to run this app.
客户数据平台(私有化)

客户数据平台(私有化)

复制全文
标签体系
查询业务模块指定结点前端渲染DAG - queryDagByNid
复制全文
查询业务模块指定结点前端渲染DAG - queryDagByNid

请求说明

请求方式:GET
接口名称:queryDagByNid
请求地址:https://console.volcengine.com/cdp/open_platform/openapi

请求参数

参数

类型

是否必选

示例值

描述

Authorization

String

HMAC-SHA256 Credential=BDPP2952f97532xxxxxx/20240716/cn/openPlatform/request, SignedHeaders=host;x-content-sha256;x-date, Signature=131f3d297eb22a7xxxxxx

详细介绍请查阅调用方式文档

X-Tenant

Int

1

项目ID

Query

参数

类型

是否必选

示例值

描述

ApiAction

String

queryDagByNid

固定值,对应"请求说明"中的"接口名称"

ApiVersion

String

2023-06-20

固定值,版本号: 2023-06-20

bizType

String

label

业务类型枚举Key

nativeId

Int

12345

业务结点原生ID

Body


返回参数

下表仅列出返回参数中data字段内容。
根据业务ID&业务类型查询,未查询到的结点baseId为Null。

data

参数

类型

示例值

描述

nodes

Array[Object]

见下方 nodes 说明

DAG图中的结点列表

edges

Array[Object]

见下方 edges 说明

DAG图中的边列表

baseNodeId

String

"node_001"

当前查询的基准结点ID

degreeTotal

Int

5

出入度总数

nodes 元素说明

参数

类型

示例值

描述

id

String

"node_001"

结点ID

name

String

"用户标签A"

结点名称

total

Int

100

结点关联总数

status

Int

0

结点状态

bizType

String

"label"

业务类型

nativeId

String

"12345"

业务结点原生ID

edges 元素说明

参数

类型

示例值

描述

startId

String

"node_001"

边的起始结点ID

endId

String

"node_002"

边的终止结点ID

请求示例

返回示例

{
    "code": 0,
    "msg": "成功",
    "data": {
        "nodes": [
            {
                "id": "node_001",
                "name": "用户标签A",
                "total": 100,
                "status": 0,
                "bizType": "label",
                "nativeId": "12345"
            },
            {
                "id": "node_002",
                "name": "用户分群B",
                "total": 50,
                "status": 0,
                "bizType": "segment",
                "nativeId": "67890"
            }
        ],
        "edges": [
            {
                "startId": "node_001",
                "endId": "node_002"
            }
        ],
        "baseNodeId": "node_001",
        "degreeTotal": 5
    }
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

HTTP 状态码

错误码

错误信息

说明

400

invalidParameter

PARAMETER INVALID

参数非法,检查入参。

最近更新时间:2026.03.19 11:17:32
这个页面对您有帮助吗?
有用
有用
无用
无用