Queries the ranking of instances by running duration.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. |
100000 |
| Bizdate |
string |
Yes |
The data timestamp, accurate to the day. The value must be in the yyyy-MM-dd'T'HH:mm:ssZ format in UTC. |
2020-09-21T00:00:00+0800 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique ID generated for each request. |
6347364dadsfadf**** |
| InstanceConsumeTimeRank |
object |
The ranking records of instance running durations. |
|
| UpdateTime |
integer |
The timestamp when the ranking was updated. |
1600963200000 |
| ConsumeTimeRank |
array<object> |
The ranking data of instance running durations. |
|
|
object |
|||
| Owner |
string |
The ID of the Alibaba Cloud account used by the node owner. |
952795279527 |
| NodeName |
string |
The name of the node. |
|
| Bizdate |
integer |
The data timestamp of the instance. |
1600963200000 |
| InstanceId |
integer |
The instance ID. |
95279527 |
| PrgType |
integer |
The type of the node. |
10 |
| NodeId |
integer |
The node ID. |
9527 |
| Consumed |
integer |
The running duration of the instance. Unit: seconds. |
1000 |
Examples
Success response
JSON format
{
"RequestId": "6347364dadsfadf****",
"InstanceConsumeTimeRank": {
"UpdateTime": 1600963200000,
"ConsumeTimeRank": [
{
"Owner": "952795279527",
"NodeName": "节点名称",
"Bizdate": 1600963200000,
"InstanceId": 95279527,
"PrgType": 10,
"NodeId": 9527,
"Consumed": 1000
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. | |
| 500 | Invalid.Wkbench.Parameter | The specified parameters are invalid. | |
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.