tencent cloud

文档反馈

DescribeDependTaskLists

最后更新时间:2024-06-21 15:10:26

1. API Description

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

Query Task Detail List by taskIds

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: DescribeDependTaskLists.
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.
TaskIds.N Yes Array of String Task ID List
ProjectId Yes String Project ID

3. Output Parameters

Parameter Name Type Description
Data Array of TaskOpsDto Delete Result
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 Query Task Detail List by taskIds

Query Task Detail List by taskIds

Input Example

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

{
    "TaskIds": [
        "your tasld"
    ],
    "ProjectId": "your projectId"
}

Output Example

{
    "Response": {
        "Data": [
            {
                "BrokerIp": "any",
                "ClusterId": null,
                "CreateTime": "2024-01-03 15:52:36",
                "Creator": "jack",
                "Crontab": null,
                "CrontabExpression": null,
                "CycleNum": null,
                "CycleStep": 1,
                "CycleType": "DAY_CYCLE",
                "CycleUnit": null,
                "DelayTime": 0,
                "DependencyRel": "and",
                "DependencyWorkflow": "no",
                "EndDate": null,
                "EndTime": "2099-12-31 23:59:59",
                "EventListenerConfig": null,
                "EventPublisherConfig": null,
                "ExecutionEndTime": null,
                "ExecutionStartTime": null,
                "ExecutionTTL": -1,
                "ExecutorGroupId": null,
                "ExecutorGroupName": null,
                "FirstRunTime": null,
                "FirstSubmitTime": null,
                "FolderId": null,
                "FolderName": null,
                "InCharge": "v_vyuyudu",
                "InChargeId": "100029071486",
                "InitStrategy": null,
                "InstanceInitStrategy": "T_PLUS_0",
                "LastSchedulerCommitTime": null,
                "LastUpdate": "2024-01-03 16:36:34",
                "Layer": null,
                "LeftCoordinate": 365,
                "MaxDateTime": null,
                "MinDateTime": null,
                "NormalizedJobStartTime": null,
                "Notes": "",
                "OwnId": "100028448903",
                "ProductName": "DATA_DEV",
                "ProjectId": "your projectId",
                "ProjectIdent": null,
                "ProjectName": null,
                "RealWorkflowId": null,
                "ResourceGroup": "your ResourceGroup",
                "RetryAble": 1,
                "RetryWait": 5,
                "RunPriority": 6,
                "ScheduleDesc": null,
                "SchedulerDesc": null,
                "SelfDepend": "serial",
                "ShowWorkflow": false,
                "SourceServiceId": ";8738;",
                "SourceServiceType": ";mysql;",
                "StartDate": null,
                "StartTime": "2024-01-03 00:00:00",
                "StartupTime": 0,
                "Status": "Y",
                "TargetServiceId": ";122116;",
                "TargetServiceType": ";hive;",
                "TaskAction": "",
                "TaskId": "your TaskId",
                "TaskLinkInfo": null,
                "TaskName": "mysql2hive_test",
                "TaskType": {
                    "TypeDesc": "Offline Synchronization",
                    "TypeId": 26,
                    "TypeSort": "Data Synchronization"
                },
                "TaskTypeDesc": null,
                "TaskTypeId": null,
                "TenantId": "your TenantId",
                "TopCoordinate": 162,
                "TryLimit": 5,
                "UpdateTime": "2024-01-03 16:36:29",
                "UpdateUser": "hang",
                "UpdateUserId": "your UpdateUserId",
                "UserId": "your UserId",
                "VirtualFlag": false,
                "VirtualTaskId": null,
                "VirtualTaskStatus": null,
                "WorkflowId": "c66da3ee-aa0b-11ee-8d13-a4ae120f8272",
                "WorkflowName": "test11",
                "YarnQueue": null,
                "TasksStr": "your TasksStr",
                "Submit": true
            }
        ],
        "RequestId": "fe7aeb66-f05b-4241-8f8a-7d6cd6975bd6"
    }
}

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

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.