獲取業務日期當天生成的周期實例任務,在業務日期的不同整點時刻,運行成功的實例數量統計趨勢。
調試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權信息
當前API暫無授權信息透出。
請求參數
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
ProjectId | long | 是 | DataWorks 工作空間的 ID。您可以登錄 DataWorks 管控臺,進入工作空間配置頁面獲取工作空間 ID。 | 9527 |
返回參數
示例
正常返回示例
JSON
格式
{
"RequestId": "952795279527ab****",
"InstanceStatusTrend": {
"TodayTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
],
"YesterdayTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
],
"AvgTrend": [
{
"TimePoint": "01:00",
"Count": 10
}
]
}
}
錯誤碼
HTTP status code | 錯誤碼 | 錯誤信息 | 描述 |
---|---|---|---|
403 | ResourceNotAuthorized.Api | You are not authorized to access the resources. | 您無法訪問未取得授權的資源。 |
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.Resource | You have reached the limit for the resource. Please contact us by submitting a ticket. | - |
429 | Throttling.System | The DataWorks system is busy. Try again later. | DataWorks系統繁忙,請稍后再試。 |
429 | Throttling.User | Your request is too frequent. Try again later. | 您的請求過于頻繁,請嘗試放緩請求速度。 |
500 | Forbidden.Not.Server | The dataworksAPI service is not available in this area. Please try it in another area. | 該地域還未開放DataWorks的API服務,請嘗試其它地域。 |
500 | InternalError.System | An internal system error occurred. Try again later. | 系統內部錯誤,請稍后再試。 |
500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | 系統內部錯誤,請稍后再試。 |
500 | Forbidden.Wkbench.ProjectNoPermission | You are not authorized to access the workspace. | 工作空間無權限。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
變更時間 | 變更內容概要 | 操作 |
---|
暫無變更歷史