tencent cloud

Feedback

ModifyIntegrationNode

Last updated: 2024-06-21 15:10:52

1. API Description

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

Updating Integrated Nodes

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: ModifyIntegrationNode.
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.
NodeInfo Yes IntegrationNodeInfo Integrated Node Information
ProjectId Yes String Project ID
TaskType No Integer Task Type "201. stream, 202. offline"
TaskMode No Integer Distinguish Canvas Mode and Form "1. Canvas, 2. Form" mode

3. Output Parameters

Parameter Name Type Description
Id String Node ID
TaskId String Task ID
Note: This field may return null, indicating that no valid value can be obtained.
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 Update DataInLong Node

Update DataInLong Node

Input Example

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

{
    "NodeInfo": {
        "Id": "3039",
        "TaskId": "20220331184313320",
        "Name": "mysql",
        "NodeType": "OUTPUT",
        "DataSourceType": "MYSQL",
        "Description": "Description",
        "DatasourceId": "913032",
        "Config": [
            {
                "Name": "isClean",
                "Value": "0"
            }
        ],
        "ExtConfig": [
            {
                "Name": "x",
                "Value": "269"
            }
        ],
        "Schema": [
            {
                "Id": "913935552",
                "Name": "id",
                "Value": "null",
                "Type": "int",
                "Properties": [
                    {
                        "Name": "111",
                        "Value": "1"
                    }
                ],
                "Alias": "id",
                "Comment": "Primary key ID"
            }
        ],
        "NodeMapping": {
            "SourceId": "130973",
            "SinkId": "130972",
            "SourceSchema": [
                {
                    "Id": "517902752",
                    "Name": "col1",
                    "Value": "null",
                    "Type": "int(11)",
                    "Alias": "col1",
                    "Comment": "Column name"
                }
            ],
            "SchemaMappings": [
                {
                    "SourceSchemaId": "517902752",
                    "SinkSchemaId": "756243136"
                }
            ]
        },
        "AppId": "1257305158",
        "ProjectId": "11022568003970304",
        "CreatorUin": "100022744352",
        "OperatorUin": "100022744352",
        "OwnerUin": "100006908545",
        "CreateTime": "2022-03-31 18:43:24",
        "UpdateTime": "2022-03-31 18:43:24"
    },
    "ProjectId": "11022568003970304",
    "TaskType": 202,
    "TaskMode": 2
}

Output Example

{
    "Response": {
        "Id": "1",
        "TaskId": "20230112170349643",
        "RequestId": "as1cs2c123asyi23bh213cc"
    }
}

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.
AuthFailure.UnauthorizedOperation CAM not authorized, please contact the primary account to grant the QcloudWeDataFullAccess policy to this account.
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.
Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support