Queries the list of baseline instances that are affected by a specified event.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TopicId |
integer |
Yes |
The ID of the event. |
1234 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. You can use this ID to troubleshoot issues. |
0000-ABCD-EFG**** |
| ErrorMessage |
string |
The error message. |
The specified parameters are invalid. |
| ErrorCode |
string |
The error code. |
1031203110005 |
| Success |
boolean |
Indicates whether the request was successful. Valid values: true and false. |
true |
| Data |
object |
The returned data. |
|
| TopicId |
integer |
The event ID. |
1234 |
| Influences |
array<object> |
The list of affected baseline instances. |
|
|
object |
|||
| Status |
string |
The status of the baseline instance. Valid values: ERROR, SAFE, DANGROUS, and OVER. ERROR: no nodes are associated with the baseline, or all associated nodes are suspended. SAFE: nodes finish running before the alert duration begins. DANGROUS: nodes are still running after the alert duration ends but the committed time has not arrived. OVER: nodes are still running after the committed time. |
SAFE |
| Owner |
string |
The Alibaba Cloud account ID of the baseline owner. Multiple IDs are separated by commas (,). |
952795**** |
| BaselineName |
string |
The name of the baseline. |
Baseline name |
| BaselineId |
integer |
The baseline ID. |
12345 |
| Bizdate |
integer |
The data timestamp of the baseline instance. |
1553356800000 |
| Buffer |
integer |
The margin of the baseline instance. Unit: seconds. |
360 |
| ProjectId |
integer |
The workspace ID to which the baseline belongs. |
1234 |
| Priority |
integer |
The priority of the baseline. Valid values: 1, 2, 5, 7, and 8. |
1 |
| InGroupId |
integer |
The scheduling cycle ID of the baseline instance. For daily-scheduled baseline instances, the value is 1. For hourly-scheduled baseline instances, the value ranges from 1 to 24. |
1 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFG****",
"ErrorMessage": "The specified parameters are invalid.",
"ErrorCode": "1031203110005",
"Success": true,
"Data": {
"TopicId": 1234,
"Influences": [
{
"Status": "SAFE",
"Owner": "952795****",
"BaselineName": "Baseline name",
"BaselineId": 12345,
"Bizdate": 1553356800000,
"Buffer": 360,
"ProjectId": 1234,
"Priority": 1,
"InGroupId": 1
}
]
}
}
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 | InternalError.Wkbench.ServiceError | An internal error occurred. | An internal error occurred. |
| 500 | Invalid.Wkbench.Parameter | The specified parameters are invalid. | |
| 500 | Invalid.Wkbench.TopicNotExist | The topic does not exist. | |
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.