查询任务父依赖

最近更新时间:2025-06-23 11:43:39

我的收藏

1. 接口描述

接口请求域名: wedata.tencentcloudapi.com 。

查询任务父依赖

默认接口请求频率限制:20次/秒。

推荐使用 API Explorer
点击调试
API Explorer 提供了在线调用、签名验证、SDK 代码生成和快速检索接口等能力。您可查看每次调用的请求内容和返回结果以及自动生成 SDK 调用示例。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数

参数名称 必选 类型 描述
Action String 公共参数,本接口取值:DescribeParentTask。
Version String 公共参数,本接口取值:2021-08-20。
Region String 公共参数,详见产品支持的 地域列表
ProjectId String 项目Id
示例值:1464962169590902784
TaskId String 任务Id
示例值:20250606112506283

3. 输出参数

参数名称 类型 描述
Data Array of DependencyConfigDsDTO 任务详情1
注意:此字段可能返回 null,表示取不到有效值。
RequestId String 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。

4. 示例

示例1 成功示例

输入示例

复制
复制成功
POST / HTTP/1.1
Host: wedata.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeParentTask
<公共请求参数>

{
    "ProjectId": "1464962169590902784",
    "TaskId": "20250606112506283"
}

输出示例

复制
复制成功
{
    "Response": {
        "Data": [
            {
                "DependencyStrategy": {
                    "PollingNullStrategy": "EXECUTING"
                },
                "MainCyclicConfig": "RANGE_DAY",
                "Offset": "-1,0",
                "ParentTask": {
                    "Alarm": null,
                    "BrokerIp": "any",
                    "ClusterId": null,
                    "ConcurrentStrategy": null,
                    "ContentType": null,
                    "CreateTime": "2025-06-06 11:26:04",
                    "Creater": "peanutzhu",
                    "CrontabExpression": "0 0 22 30 * ?",
                    "CycleDependencyConfigList": null,
                    "CycleStep": 1,
                    "CycleType": "DAY_CYCLE",
                    "DelayTime": 0,
                    "DependencyConfigList": null,
                    "DependencyRel": "and",
                    "DependencyWorkflow": "no",
                    "EndTime": "2099-12-31 23:59:59",
                    "EventListenerConfig": null,
                    "EventPublisherConfig": null,
                    "ExecutionEndTime": "23:59",
                    "ExecutionStartTime": "00:00",
                    "ExecutionTTL": -1,
                    "FolderId": null,
                    "FolderName": null,
                    "ImportErrMsg": null,
                    "ImportResult": null,
                    "InCharge": "peanutzhu",
                    "InChargeId": "100028578753",
                    "InstanceInitStrategy": "T_PLUS_0",
                    "LastSchedulerCommitTime": null,
                    "LastUpdate": "2025-06-06 16:37:58",
                    "LeftCoordinate": 325,
                    "LinkId": "19029a7b-4286-11f0-8ec8-b8599f277de5",
                    "MaxDateTime": null,
                    "MaxRetryAttempts": null,
                    "MinDateTime": null,
                    "NewOrUpdate": null,
                    "NormalizedJobStartTime": null,
                    "Notes": "",
                    "OwnId": "100028448903",
                    "ParamInList": null,
                    "ParamOutList": null,
                    "Params": null,
                    "ProductName": "DATA_DEV",
                    "ProjectId": "1464962169590902784",
                    "ProjectIdent": null,
                    "ProjectName": "wedata数据开发",
                    "Properties": null,
                    "RealWorkflowId": null,
                    "RecoverFreezeStartTime": null,
                    "RecycleTips": null,
                    "RecycleUser": null,
                    "ResourceGroup": "20240703113703331017",
                    "ResourceGroupName": null,
                    "Retriable": 1,
                    "RetryWait": null,
                    "RunPriority": 6,
                    "ScheduleRunType": 0,
                    "ScheduleTimeZone": "UTC+8",
                    "SchedulerDesc": null,
                    "ScriptChange": false,
                    "SelfDepend": "serial",
                    "SourceServer": null,
                    "SourceServiceId": null,
                    "SourceServiceName": null,
                    "SourceServiceType": null,
                    "StartTime": "2025-06-06 00:00:00",
                    "StartupTime": 0,
                    "Status": "N",
                    "Submit": false,
                    "TargetServer": null,
                    "TargetServiceId": null,
                    "TargetServiceType": null,
                    "TaskAction": "",
                    "TaskAutoSubmit": null,
                    "TaskExt": {
                        "DryRunExtAttributes": null,
                        "DryRunParameter": null,
                        "Properties": [
                            {
                                "ParamKey": "calendar_id",
                                "ParamValue": ""
                            },
                            {
                                "ParamKey": "python_type",
                                "ParamValue": "python3"
                            },
                            {
                                "ParamKey": "data_cluster",
                                "ParamValue": ""
                            },
                            {
                                "ParamKey": "calendar_open",
                                "ParamValue": "0"
                            },
                            {
                                "ParamKey": "ExecutionTTLStrategy",
                                "ParamValue": "kill"
                            },
                            {
                                "ParamKey": "calendar_name",
                                "ParamValue": ""
                            },
                            {
                                "ParamKey": "waitExecutionTotalTTL",
                                "ParamValue": "-1"
                            },
                            {
                                "ParamKey": "bucket",
                                "ParamValue": "wedata-fusion-dev-1257305158"
                            },
                            {
                                "ParamKey": "specLabelConfItems",
                                "ParamValue": "eyJzcGVjTGFiZWxDb25mSXRlbXMiOltdfQ=="
                            },
                            {
                                "ParamKey": "python_sub_version",
                                "ParamValue": "python3"
                            },
                            {
                                "ParamKey": "ftp.file.name",
                                "ParamValue": "https://wedata-fusion-dev-1257305158.cos.ap-nanjing.myqcloud.com/datastudio/project/1464962169590902784/0_00克隆测试/test_ceshi/test_0606_1.sh"
                            },
                            {
                                "ParamKey": "tenantId",
                                "ParamValue": "1257305158"
                            },
                            {
                                "ParamKey": "region",
                                "ParamValue": "ap-nanjing"
                            },
                            {
                                "ParamKey": "enableKerberosLogin",
                                "ParamValue": "false"
                            },
                            {
                                "ParamKey": "extraInfo",
                                "ParamValue": "{\"fromMapping\":false}"
                            }
                        ],
                        "TaskId": "20250606112604725"
                    },
                    "TaskFolderId": null,
                    "TaskId": "20250606112604725",
                    "TaskLinkInfo": null,
                    "TaskName": "test_0606_1",
                    "TaskRegisterOutputTable": null,
                    "TaskType": {
                        "BrokerParallelism": 10,
                        "CreateTime": "2022-02-12 11:13:41",
                        "DefaultAliveWait": 720,
                        "DoRedoParallelism": 10000,
                        "DowngradePriorityTries": 2,
                        "ExcludeCommonLib": false,
                        "FileType": null,
                        "InCharge": "admin",
                        "KillAble": 0,
                        "ParamList": "<parameters><parameter><name>hdpClient</name><value>/usr/hdp/current/hadoop-client</value></parameter><parameter><name>hiveClient</name><value>/usr/hdp/current/hive-client</value></parameter></parameters>",
                        "PollingSeconds": 5,
                        "PostHooks": null,
                        "RetryLimit": 5,
                        "RetryWait": 5,
                        "RunJarName": "IdexShell.jar",
                        "SelectFilePath": null,
                        "SourceServerType": null,
                        "TargetServerType": null,
                        "TaskParallelism": 10,
                        "TaskTypeExtension": null,
                        "TypeDesc": "Shell",
                        "TypeId": 35,
                        "TypeSort": "数据计算"
                    },
                    "Tasks": null,
                    "TemplateId": null,
                    "TenantId": "1315051789",
                    "TopCoordinate": 204,
                    "TryLimit": 5,
                    "UpdateTime": "2025-06-06 16:37:58",
                    "UpdateUser": "peanutzhu",
                    "UpdateUserId": "100028578753",
                    "UserFileId": null,
                    "UserId": "100028578753",
                    "VersionDesc": null,
                    "VirtualFlag": false,
                    "VirtualTaskId": null,
                    "VirtualTaskStatus": null,
                    "WorkflowId": "ab43623e-2473-413a-8c80-59e875167c96",
                    "WorkflowName": "test_ceshi",
                    "YarnQueue": null
                },
                "SonTask": null,
                "SubordinateCyclicConfig": null
            }
        ],
        "RequestId": "dd39dc67-049f-4028-b93c-78e776b01647"
    }
}

5. 开发者资源

腾讯云 API 平台

腾讯云 API 平台 是综合 API 文档、错误码、API Explorer 及 SDK 等资源的统一查询平台,方便您从同一入口查询及使用腾讯云提供的所有 API 服务。

API Inspector

用户可通过 API Inspector 查看控制台每一步操作关联的 API 调用情况,并自动生成各语言版本的 API 代码,也可前往 API Explorer 进行在线调试。

SDK

云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。

命令行工具

6. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码

错误码 描述
FailedOperation 操作失败。
InvalidParameter 参数错误。
InvalidParameter.ClientIpNotAuthorized ClientIp未被授权。
InvalidParameterValue 参数取值错误。
MissingParameter 缺少参数错误。

如果遇到产品相关问题,您可咨询 在线客服寻求帮助。

返回顶部