查看任务版本详细信息

最近更新时间:2025-10-16 19:40:07

我的收藏

1. 接口描述

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

查看任务版本详细信息

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

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

2. 输入参数

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

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

3. 输出参数

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

4. 示例

示例1 查看任务版本详情

查看任务版本详情

输入示例

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

{
    "TaskId": "20250506210555513",
    "TaskVersion": "12"
}

输出示例

{
    "Response": {
        "Data": {
            "ApproveName": null,
            "ApproveStatus": "无需审批",
            "ApproveTime": null,
            "CreateTime": "2025-05-06 21:07:35",
            "Creator": "qminliu",
            "LastSchedulerCommitTime": null,
            "TaskCycleLinkInfo": null,
            "TaskEventListener": null,
            "TaskEventPublisher": null,
            "TaskId": "20250506210555513",
            "TaskInfo": {
                "Alarm": null,
                "BrokerIp": "any",
                "ClusterId": null,
                "ConcurrentStrategy": null,
                "ContentType": null,
                "CreateTime": "2025-05-06 21:05:55",
                "Creater": "qminliu",
                "CrontabExpression": null,
                "CycleDependencyConfigList": null,
                "CycleStep": 5,
                "CycleType": "MINUTE_CYCLE",
                "DelayTime": 0,
                "DependencyConfigList": [],
                "DependencyRel": "and",
                "DependencyWorkflow": "no",
                "EndTime": "2025-05-06 23:59:59",
                "EventListenerConfig": null,
                "EventPublisherConfig": null,
                "ExecutionEndTime": "22:00",
                "ExecutionStartTime": "00:00",
                "ExecutionTTL": -1,
                "FolderId": "b43ef35b-90f1-11ed-8358-b8cef6281b20",
                "FolderName": "qminliu",
                "ImportErrMsg": null,
                "ImportResult": null,
                "InCharge": "qminliu",
                "InChargeId": "100028578885",
                "InstanceInitStrategy": "T_PLUS_0",
                "LastSchedulerCommitTime": null,
                "LastUpdate": "2025-05-06 21:07:11",
                "LeftCoordinate": 318,
                "LinkId": null,
                "MaxDateTime": null,
                "MaxRetryAttempts": 4,
                "MinDateTime": null,
                "NewOrUpdate": null,
                "NormalizedJobStartTime": "2025-05-06 00:00:00",
                "Notes": "",
                "OwnId": "100028448903",
                "ParamInList": null,
                "ParamOutList": null,
                "Params": null,
                "ProductName": "DATA_DEV",
                "ProjectId": "1474948357512937472",
                "ProjectIdent": "silicon_us_cloud",
                "ProjectName": "硅谷_调度_云_研发专用",
                "Properties": null,
                "RealWorkflowId": null,
                "RecoverFreezeStartTime": null,
                "RecycleTips": null,
                "RecycleUser": null,
                "ResourceGroup": "20240229221841125367",
                "ResourceGroupName": "wedata-auto-test-use(20240229221841125367)",
                "Retriable": 1,
                "RetryWait": 5,
                "RunPriority": 6,
                "ScheduleRunType": 0,
                "ScheduleTimeZone": "UTC+8",
                "SchedulerDesc": "",
                "ScriptChange": true,
                "SelfDepend": "serial",
                "SourceServer": null,
                "SourceServiceId": null,
                "SourceServiceName": null,
                "SourceServiceType": null,
                "StartTime": "2025-05-06 00:00:00",
                "StartupTime": 0,
                "Status": "Y",
                "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": "calendar_open",
                            "ParamValue": "0"
                        },
                        {
                            "ParamKey": "calendar_name",
                            "ParamValue": ""
                        },
                        {
                            "ParamKey": "waitExecutionTotalTTL",
                            "ParamValue": "-1"
                        },
                        {
                            "ParamKey": "bucket",
                            "ParamValue": "wedata-na-sv-1257305158"
                        },
                        {
                            "ParamKey": "specLabelConfItems",
                            "ParamValue": "eyJzcGVjTGFiZWxDb25mSXRlbXMiOltdfQ=="
                        },
                        {
                            "ParamKey": "python_sub_version",
                            "ParamValue": "python3"
                        },
                        {
                            "ParamKey": "ftp.file.name",
                            "ParamValue": "https://wedata-na-sv-1257305158.cos.accelerate.myqcloud.com//datastudio/project/1474948357512937472/qminliu/0506_wk/shell_0506_01_20250506210734798.sh"
                        },
                        {
                            "ParamKey": "tenantId",
                            "ParamValue": "1257305158"
                        },
                        {
                            "ParamKey": "region",
                            "ParamValue": "na-siliconvalley"
                        },
                        {
                            "ParamKey": "extraInfo",
                            "ParamValue": "{\"fromMapping\":false}"
                        }
                    ],
                    "TaskId": "20250506210555513"
                },
                "TaskFolderId": null,
                "TaskId": "20250506210555513",
                "TaskLinkInfo": null,
                "TaskName": "shell_0506_01",
                "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": 252,
                "TryLimit": 5,
                "UpdateTime": "2025-05-06 21:07:11",
                "UpdateUser": "qminliu",
                "UpdateUserId": "100028578885",
                "UserFileId": null,
                "UserId": "100028578885",
                "VersionDesc": "更新",
                "VirtualFlag": false,
                "VirtualTaskId": null,
                "VirtualTaskStatus": null,
                "WorkflowId": "8e7bf089-d43f-461f-9ed3-b10cf42b30ec",
                "WorkflowName": "0506_wk",
                "YarnQueue": null
            },
            "TaskInputParam": null,
            "TaskLinkInfo": null,
            "TaskOutputParam": null,
            "TaskParaInfo": null,
            "TaskRegisterOutputTable": null,
            "UpdateTime": "2025-05-06 21:07:35",
            "UsedVersion": 1,
            "VersionId": "20250506210555513_20250506210734913",
            "VersionNum": "V2",
            "VersionRemark": "1"
        },
        "RequestId": "22a065-73ab-47ba-9c4f-101cc1c2e04b"
    }
}

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 参数错误。
InvalidParameterValue 参数取值错误。
MissingParameter 缺少参数错误。