Queries the subscribers of a partition filter expression.
Debugging
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:
|
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.