Queries a list of baseline instances.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PageNumber | integer | Yes | The number of the page to return. Valid values: 1 to 30. Default value: 1. | 1 |
PageSize | integer | Yes | The number of entries to return on each page. Default value: 10. Maximum value: 100. | 10 |
Bizdate | string | Yes | The data timestamp of the baseline instance. Specify the time in the ISO 8601 standard in the yyyy-MM-dd'T'HH:mm:ssZ format. The time must be in UTC. | 2020-07-07T00:00:00+0800 |
Priority | string | No | The priority of the baseline. Valid values: 1, 3, 5, 7, and 8. Multiple priorities are separated by commas (,). | 1,3,5,7,8 |
SearchText | string | No | The keyword of the baseline name used to search for the baseline. | Keyword of the baseline name |
Owner | string | No | The ID of the Alibaba Cloud account used by the baseline owner. | 9527952795**** |
TopicId | long | No | The ID of the event. | 1234 |
FinishStatus | string | No | The status of the baseline instance. Valid values: UNFINISH and FINISH. The value UNFINISH indicates that the baseline instance is still running. The value FINISH indicates that the baseline instance finishes running. Multiple states are separated by commas (,). | FINISH,UNFINISH |
Status | string | No | The status of the baseline. Valid values: ERROR, SAFE, DANGEROUS, and OVER. The value ERROR indicates that no nodes are associated with the baseline, or all nodes associated with the baseline are suspended. The value SAFE indicates that nodes finish running before the alerting time. The value DANGEROUS indicates that nodes are still running after the alerting time but before the committed completion time. The value OVER indicates that nodes are still running after the committed completion time. Multiple states are separated by commas (,). | SAFE,DANGROUS,OVER |
BaselineTypes | string | No | The type of the baseline. Valid values: DAILY and HOURLY. The value DAILY indicates that the baseline is scheduled by day. The value HOURLY indicates that the baseline is scheduled by hour. Multiple types are separated by commas (,). | DAILY,HOURLY |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFG****",
"ErrorMessage": "The specified parameters are invalid.",
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Success": true,
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"BaselineStatuses": [
{
"Status": "SAFE",
"Owner": "9527952795****",
"FinishTime": 1553531400000,
"ProjectId": 1234,
"Priority": 1,
"EndCast": 1553531400000,
"InGroupId": 1,
"BaselineName": "Baseline name\n",
"BaselineId": 1234,
"FinishStatus": "UNFINISH",
"Bizdate": 1553443200000,
"Buffer": 1800,
"SlaTime": 1553531400000,
"ExpTime": 1553531400000
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
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.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. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|