GetBaselineKeyPath - 获取基线实例的关键路径

更新时间:
复制 MD 格式

调用GetBaselineKeyPath获取基线实例的关键路径。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

BaselineId

integer

基线的 ID。

1234

Bizdate

string

业务日期,需要使用 yyyy-MM-dd'T'HH:mm:ssZ 的 UTC 格式。

2020-07-07T00:00:00+0800

InGroupId

integer

基线实例周期号。天基线为 1,小时基线的取值范围为[1,24]。

1

返回参数

名称

类型

描述

示例值

object

HttpStatusCode

integer

HTTP 返回码。

200

RequestId

string

本次调用的唯一 ID。出现错误后,您可以根据该 ID 排查问题。

0000-ABCD-EFG****

ErrorMessage

string

错误信息。

The specified parameters are invalid.

ErrorCode

string

错误码。

1031203110005

Success

boolean

调用是否成功。

true

Data

array<object>

关键路径信息。

array<object>

Owner

string

节点责任人的阿里云 UID。

9527952****

NodeName

string

节点的名称。

Node name

Bizdate

integer

实例的业务日期时间戳。

1553443200000

ProjectId

integer

节点所在工作空间的 ID。

1234

InstanceId

integer

实例的 ID。

123456

PrgType

integer

节点类型,常用的节点类型包括数据集成(23)、MaxCompute SQL(10)、Shell(6)和虚节点(99)。

10

NodeId

integer

节点的 ID。

1234

InGroupId

integer

实例周期号,取值范围为[1,288]。

1

Runs

array<object>

实例的运行记录。

object

Status

string

实例的状态,包括 NOT_RUN(未运行)、WAIT_TIME(等待时间)、WAIT_RESOURCE(等待资源)、RUNNING(运行中)、CHECKING(校检中)、CHECKING_CONDITION(条件检测中)、FAILURE(运行失败)和 SUCCESS(运行成功)。

SUCCESS

AbsTime

integer

实例的预计开始运行时间+历史平均运行时长得到的时间戳。

1553531402000

BeginRunningTime

integer

实例实际开始运行的时间戳。

1553531401000

FinishTime

integer

实例的实际运行结束时间戳。

1553531401000

BeginCast

integer

实例预计开始运行的时间戳。

1553531686000

EndCast

integer

实例的预计运行结束时间戳。

1553531687000

BeginWaitResTime

integer

实例开始进入等待资源状态的时间戳。

1553531401000

BeginWaitTimeTime

integer

实例开始进入等待时间状态的时间戳。

1553531400000

Topics

array<object>

实例关联的事件信息。

object

TopicName

string

事件的名称。

1234

InstanceId

integer

实例的 ID。

1234

TopicId

integer

事件的 ID。

1234

AddTime

integer

事件发现时间戳。

1553531401000

示例

正常返回示例

JSON格式

{
  "HttpStatusCode": 200,
  "RequestId": "0000-ABCD-EFG****",
  "ErrorMessage": "The specified parameters are invalid.",
  "ErrorCode": "1031203110005",
  "Success": true,
  "Data": [
    {
      "Owner": "9527952****",
      "NodeName": "Node name",
      "Bizdate": 1553443200000,
      "ProjectId": 1234,
      "InstanceId": 123456,
      "PrgType": 10,
      "NodeId": 1234,
      "InGroupId": 1,
      "Runs": [
        {
          "Status": "SUCCESS",
          "AbsTime": 1553531402000,
          "BeginRunningTime": 1553531401000,
          "FinishTime": 1553531401000,
          "BeginCast": 1553531686000,
          "EndCast": 1553531687000,
          "BeginWaitResTime": 1553531401000,
          "BeginWaitTimeTime": 1553531400000
        }
      ],
      "Topics": [
        {
          "TopicName": "1234",
          "InstanceId": 1234,
          "TopicId": 1234,
          "AddTime": 1553531401000
        }
      ]
    }
  ]
}

错误码

HTTP status code

错误码

错误信息

描述

500 Forbidden.Not.Server The dataworksAPI service is not available in this area. Please try it in another area.
500 InternalError.System An internal system error occurred. Try again later.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. 没有权限,请授权
429 Throttling.Api The request for this resource has exceeded your available limit.
429 Throttling.Api.Risk The request for this resource has exceeded your daily available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情