調用GetBaselineKeyPath擷取基準執行個體的關鍵路徑。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| BaselineId |
integer |
是 |
基準的 ID。 |
1234 |
| Bizdate |
string |
是 |
業務日期,需要使用 yyyy-MM-dd'T'HH:mm:ssZ 的 UTC 格式。 |
2020-07-07T00:00:00+0800 |
| InGroupId |
integer |
是 |
基準執行個體周期號。Apsara Infrastructure Management Framework線為 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 |
節點類型,常用的節點類型包括Data Integration(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.Wkbench.BaselineNoPermission | You are not authorized to access the baseline. | |
| 500 | Forbidden.Wkbench.ProjectNoPermission | You are not authorized to access the workspace. | |
| 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. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 500 | Invalid.Wkbench.BaselineStatusNotExist | The BaselineStatus does not exist. | |
| 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. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。