Queries the information about an event.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| TopicId | long | Yes | The event ID. You can call the ListTopics operation to query the ID. | 1234 |
Response parameters
Examples
Sample success responses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFGH-IJKLMNOPQ",
"ErrorMessage": "The specified parameters are invalid.",
"ErrorCode": 1031203110005,
"Success": true,
"Data": {
"Owner": "952795****",
"TopicName": "1234 error",
"BaselineStatus": "SAFE",
"ProjectId": 1234,
"NextAlertTime": 1553524393000,
"InstanceId": 12345,
"FixTime": 1553524393000,
"BaselineInGroupId": 1,
"BaselineBuffer": 3600,
"TopicType": "ERROR",
"TopicStatus": "FIXING",
"HappenTime": 1553524393000,
"DealTime": 1553524393000,
"DealUser": "952795****",
"BaselineName": "Baseline name",
"BaselineId": 1234,
"NodeName": "Node name",
"AlertTime": 1553524393000,
"Buffer": 1200,
"Assigner": "952795****",
"TopicId": 1234,
"AddTime": 1553524393000,
"NodeId": 1234
}
}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.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 | Invalid.Wkbench.Parameter | The specified parameters are invalid. | The specified parameters are invalid. |
| 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.TopicNotExist | The topic does not exist. | The topic does not exist. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
