Queries affected baseline instances.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetTopicInfluence

The operation that you want to perform.

RegionId String Yes cn-shanghai

The unique identifier of the zone.

TopicId Long Yes 1234

The ID of the event.

Response parameters

Parameter Type Example Description
Data Struct

The list of baseline instances affected by the event.

Influences Array of Influences

The list of affected baseline instances.

BaselineId Long 1234

The ID of the baseline.

BaselineName String Baseline check

The name of the baseline.

Bizdate Long 1553356800000

The timestamp of the business date on the baseline instance.

Buffer Long 360

The buffer size of the baseline instance. Unit: seconds.

InGroupId Integer 1

The cycle number of the baseline instance. The Tianji line is 1. The value range of the hour baseline is [1,24].

Owner String 952795****

The Alibaba Cloud UID of the owner of the baseline. Separate multiple responsible persons with commas (,).

Priority Integer 1

The priority of the baseline. Valid values: 1,2,5,7, and 8.

ProjectId Long 1234

The ID of the workspace to which the baseline belongs.

Status String SAFE

The status of the baseline. Valid values: ERROR, SAFE, dangrouus, and OVER.

TopicId Long 1234

The ID of the event.

ErrorCode String 1031203110005

The error code.

ErrorMessage String The specified parameters are invalid.

The error message.

HttpStatusCode Integer 200

The HTTP status code.

RequestId String 0000-ABCD-EFG****

The unique ID of the call. You can use the error ID to troubleshoot the error.

Success Boolean true

Indicates whether the request was successful.

Examples

Sample requests


     http(s)://[Endpoint]/? Action=GetTopicInfluence &RegionId=cn-shanghai &TopicId=1234 &<common request parameters> 
   

Sample success responses

XML format


     <RequestId> 0000-abcd-efg**** </RequestId> <HttpStatusCode> 200 </HttpStatusCode> <Data> <Influences> <BaselineId> 1234 </BaselineId> <Status> SAFE </Status> <Buffer> 360 </Buffer> <Owner> 952795**** </Owner> <Priority> 1 </Priority> <BaselineName> baseline name </BaselineName> <ProjectId> 1234 </ProjectId> <Bizdate> 1553356800000 </Bizdate> <InGroupId> 1 </InGroupId> </Influences> <TopicId> 1234 </TopicId> </Data> <ErrorCode> 1031203110005 </ErrorCode> <ErrorMessage> The specified parameters are invalid. </ErrorMessage> <Success>true</Success> 
   

JSON Format


     {"RequestId": "0000-abcd-EFG %}*", "HttpStatusCode": 200, "Data": { "Influences": { "BaselineId": 1234, "Status": "SAFE", "Buffer": 360, "Owner": "952795 ${{*", "Priority": 1, 1, "BaselineName": "baseline name", "ProjectId": 1234, " Bizdate": 1553356800000, "InGroupId": 1 }, "TopicId": 1234 }, "ErrorCode": 1031203110005, "ErrorMessage": "The specified parameters are invalid.", "Success": true} 
   

Error codes

HttpCode Error codes Error message Description
500 Forbidden.Not.Server The dataworksAPI service is not available in this area. Please try it in another area. DataWorks API service is not available in this region. Please try another region.
500 InternalError.System An internal system error occurred. Try again later. An internal system error occurred. Please try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later. An internal system error occurred. Please try again later.
500 InternalError.Wkbench.ServiceError An internal error occurred. The service was open.
500 Invalid.Wkbench.Parameter The specified parameters are invalid. One or more parameters are invalid.
500 Invalid.Wkbench.TopicNotExist The topic does not exist. The event does not exist.
429 Throttling.Api The request for this resource has exceeded your available limit. The request for the resource exceeds your available upper limit.
429 Throttling.Api.Risk The request for this resource has exceeded your daily available limit. The request for the resource has exceeded your daily availability limit.
429 Throttling.Resource You have reached the limit for the resource. Please contact us by submitting a ticket. The number of resources has reached the upper limit. Submit a ticket.
429 Throttling.System The DataWorks system is busy. Try again later. DataWorks the system is busy, please try again later.
429 Throttling.User Your request is too frequent. Try again later. Your request is too frequent, please try to slow down the request speed.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. You have restricted access. Please activate DataWorks Enterprise Edition or above.

Go to the Error CenterFor more information, see error codes.