Queries the subscribers of a partition filter expression.

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 GetQualityFollower

The operation that you want to perform.

EntityId Long Yes 1234

The ID of the partition filter expression.

ProjectName String Yes autotest

The name of the compute engine or data source.

RegionId String Yes cn-shanghai

The region ID. For example, the ID of the China (Shanghai) region is cn-shanghai, and that of the China (Zhangjiakou) region is cn-zhangjiakou. The system automatically determines the value of this parameter based on the endpoint used to call the operation.

Response parameters

Parameter Type Example Description
Data Array of Follower

The list of subscribers.

AlarmMode Integer 1

The notification method. Valid values:

  • 1: The subscriber receives alert notifications by using emails.
  • 2: The subscriber receives alert notifications by using emails and text messages.
  • 4: The subscriber receives alert notifications by using a DingTalk chatbot or a webhook URL.
  • 5: The DingTalk chatbot notifies all the members in the DingTalk group to which the subscriber belongs.
EntityId String 1234

The ID of the partition filter expression.

Follower String 1234

The subscriber for receiving alert notifications.

FollowerAccountName String test

The name of the Alibaba Cloud account that is used by the subscriber.

Id Long 123

The ID of the subscription relationship.

ProjectName String autotest

The name of the compute engine or data source.

TableName String dual

The name of the partitioned table.

ErrorCode String Invalid.Tenant.ConnectionNotExists

The error code returned.

ErrorMessage String You have no permission.

The error message returned.

HttpStatusCode Integer 200

The HTTP status code returned.

RequestId String 38cbdef0-f6cf-49

The ID of the request.

Success Boolean true

Indicates whether the request is successful.

Examples

Sample requests

http(s)://[Endpoint]/?Action=GetQualityFollower
&EntityId=1234
&ProjectName=autotest
&RegionId=cn-shanghai
&<Common request parameters>

Sample success responses

XML format

<RequestId>38cbdef0-f6cf-49****</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Data>
    <EntityId>1234</EntityId>
    <TableName>dual</TableName>
    <ProjectName>autotest</ProjectName>
    <Follower>1822931104031845</Follower>
    <FollowerAccountName>test</FollowerAccountName>
    <Id>123</Id>
    <AlarmMode>1</AlarmMode>
</Data>
<ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
<ErrorMessage>You have no permission.</ErrorMessage>
<Success>true</Success>

JSON format

{
    "RequestId": "38cbdef0-f6cf-49",
    "HttpStatusCode": 200,
    "Data": {
        "EntityId": 1234,
        "TableName": "dual",
        "ProjectName": "autotest",
        "Follower": 1822931104031845,
        "FollowerAccountName": "test",
        "Id": 123,
        "AlarmMode": 1
    },
    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
    "ErrorMessage": "You have no permission.",
    "Success": true
}

Error codes

For a list of error codes, visit the API Error Center.