Queries the ranking of the running durations of instances.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | long | Yes | The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace page to obtain the workspace ID. | 100000 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "6347364dadsfadf****",
"InstanceConsumeTimeRank": {
"UpdateTime": 1600963200000,
"ConsumeTimeRank": [
{
"Owner": "952795279527",
"NodeName": "",
"BusinessDate": 1600963200000,
"ProgramType": 10,
"InstanceId": 95279527,
"NodeId": 9527,
"Consumed": 1000
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
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. | No permission, please authorize |
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. | - |
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. | - |
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. | You are not authorized to access the workspace. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history