tencent cloud

Feedback

DescribeIntegrationVersionNodesInfo

Last updated: 2024-06-21 15:11:02

1. API Description

Domain name for API request: wedata.tencentcloudapi.com.

Query Integration Task Version Node Information

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeIntegrationVersionNodesInfo.
Version Yes String Common Params. The value used for this API: 2021-08-20.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
TaskId Yes String Task ID
ProjectId Yes String Project ID
TaskVersionPath Yes String The selected version's storage path for the task:
The value of Base64.encode($region | $bucket | $ftp.file.name) under TaskInfo.TaskExt.Properties returned by DescribeDsTaskVersionList or DescribeDsTaskVersionInfo
TaskVersion No String The selected version ID for the task:
The value of VersionId returned by DescribeDsTaskVersionList or DescribeDsTaskVersionInfo

3. Output Parameters

Parameter Name Type Description
Nodes Array of IntegrationNodeInfo Task Node Information
Note: This field may return null, indicating that no valid value can be obtained.
Mappings Array of IntegrationNodeMapping Task Mapping Information
Note: This field may return null, indicating that no valid value can be obtained.
TaskId String Task ID
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Query Integration Task Version Node Information

Query Integration Task Version Node Information

Input Example

POST / HTTP/1.1
Host: wedata.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeIntegrationVersionNodesInfo
<Common request parameters>

{
    "TaskId": "ap-|cos-|file.dg",
    "ProjectId": "123",
    "TaskVersionPath": "YXAtfGNvcy18ZmlsZV94eC5kZw==",
    "TaskVersion": "202310060503283"
}

Output Example

{
    "Response": {
        "Nodes": [
            {
                "Id": "130973",
                "TaskId": "n11a6d01c-0ec6-4efc-bd14-97a921d01d3f",
                "Name": "nodeTestName",
                "NodeType": "INPUT",
                "DataSourceType": "MYSQL",
                "Description": "testdesc",
                "DatasourceId": "914840",
                "Config": [
                    {
                        "Name": "Type",
                        "Value": "MYSQL"
                    },
                    {
                        "Name": "splitPk",
                        "Value": "id"
                    },
                    {
                        "Name": "Database",
                        "Value": "databasetestname"
                    },
                    {
                        "Name": "TableNames",
                        "Value": "tabletestname"
                    },
                    {
                        "Name": "PrimaryKey",
                        "Value": "id"
                    },
                    {
                        "Name": "isNew",
                        "Value": "true"
                    },
                    {
                        "Name": "PrimaryKey_INPUT_SYMBOL",
                        "Value": "input"
                    },
                    {
                        "Name": "splitPk_INPUT_SYMBOL",
                        "Value": "input"
                    },
                    {
                        "Name": "isClean",
                        "Value": "0"
                    },
                    {
                        "Name": "encoding",
                        "Value": "utf-8"
                    }
                ],
                "ExtConfig": [
                    {
                        "Name": "x",
                        "Value": "300"
                    },
                    {
                        "Name": "y",
                        "Value": "260"
                    },
                    {
                        "Name": "iconPosition",
                        "Value": "left"
                    },
                    {
                        "Name": "size",
                        "Value": "m"
                    }
                ],
                "Schema": [
                    {
                        "Type": "String",
                        "Alias": "name",
                        "Comment": "Name",
                        "Id": "616042880",
                        "Name": "name",
                        "Value": "nihao",
                        "Properties": [
                            {
                                "Name": "exttestname",
                                "Value": "exttestvalue"
                            }
                        ]
                    }
                ],
                "NodeMapping": {
                    "SourceId": "130973",
                    "SinkId": "130972",
                    "SourceSchema": [
                        {
                            "Id": "597853056",
                            "Name": "name",
                            "Value": "test",
                            "Type": "String",
                            "Alias": "name",
                            "Comment": "Name",
                            "Properties": [
                                {
                                    "Name": "exttestname",
                                    "Value": "exttestvalue"
                                }
                            ]
                        }
                    ],
                    "SchemaMappings": [
                        {
                            "SourceSchemaId": "597853056",
                            "SinkSchemaId": "616042880"
                        }
                    ],
                    "ExtConfig": [
                        {
                            "Name": "Type",
                            "Value": "MYSQL"
                        }
                    ]
                },
                "AppId": "1315051999",
                "ProjectId": "1486446569620893696",
                "CreatorUin": "100028644005",
                "OperatorUin": "100028644005",
                "OwnerUin": "100028644005",
                "CreateTime": "2022-05-07 10:13:21",
                "UpdateTime": "2022-05-07 10:13:21"
            }
        ],
        "Mappings": [
            {
                "SourceId": "130973",
                "SinkId": "130972",
                "SourceSchema": [
                    {
                        "Id": "597853056",
                        "Name": "name",
                        "Value": "test",
                        "Type": "String",
                        "Alias": "name",
                        "Comment": "Name",
                        "Properties": [
                            {
                                "Name": "exttestname",
                                "Value": "exttestvalue"
                            }
                        ]
                    }
                ],
                "SchemaMappings": [
                    {
                        "SourceSchemaId": "597853056",
                        "SinkSchemaId": "616042880"
                    }
                ],
                "ExtConfig": [
                    {
                        "Name": "ext key name",
                        "Value": "ext key value"
                    }
                ]
            }
        ],
        "TaskId": "n11a6d01c-0ec6-4efc-bd14-97a921d01d3f",
        "RequestId": "ae90b19-209e-4acb-9f62-e2860dd810"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
AuthFailure CAM Signature/Authentication Error.
AuthFailure.SignatureExpire Not logged in or login has expired.
FailedOperation Operation Failure.
InternalError An internal error occurs.
InvalidParameter Parameter error.
InvalidParameterValue Parameter value error.
LimitExceeded Quota limit exceeded.
MissingParameter Missing Parameter Error.
OperationDenied Operation Rejected.
RequestLimitExceeded The number of requests exceeded the frequency limit.
ResourceInUse Resource Occupied.
ResourceInsufficient Insufficient resources.
ResourceNotFound The resource does not exist.
ResourceUnavailable Resource Unavailable.
UnauthorizedOperation Unauthorized Operation.
UnknownParameter Unknown parameter error.
UnsupportedOperation Operation not supported.