All Products
Search
Document Center

:GetQualityFollower

更新時間:May 21, 2024

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. Set the value to GetQualityFollower.

ProjectName

String

Yes

autotest

The name of the compute engine instance or data source.

EntityId

Long

Yes

1234

The ID of the partition filter expression.

ProjectId

Long

No

27

The DataWorks workspace ID.

Response parameters

Parameter

Type

Example

Description

HttpStatusCode

Integer

200

The HTTP status code.

RequestId

String

38cbdef0-f6cf-49

The request ID.

ErrorMessage

String

You have no permission.

The error message.

Success

Boolean

true

Indicates whether the request was successful.

ErrorCode

String

Invalid.Tenant.ConnectionNotExists

The error code.

Data

Array of Follower

The information about the subscribers.

FollowerAccountName

String

test

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

TableName

String

dual

The name of the partitioned table.

AlarmMode

Integer

1

The notification method. Valid values:

  • 1: Notifications are sent by email.

  • 2: Notifications are sent by email and text message.

  • 4: Notifications are sent by using a DingTalk chatbot or a webhook URL.

  • 5: Notifications are sent by a DingTalk chatbot to all members in a DingTalk group.

EntityId

String

1234

The ID of the partition filter expression.

ProjectName

String

autotest

The name of the compute engine instance or data source.

Id

Long

123

The ID of the subscription relationship.

Follower

String

1234

The subscriber for receiving alert notifications.

CreateTime

Long

1541576644000

The time when the subscription was created.

ModifyTime

Long

1541576644000

The time when the subscription was updated.

Examples

Sample requests

http(s)://[Endpoint]/?Action=GetQualityFollower
&ProjectName=autotest
&EntityId=1234
&ProjectId=27
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

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

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

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

Error codes

For a list of error codes, see Service error codes.