Creates a subscriber for a partition filter expression.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectName | string | Yes | The name of the compute engine or data source. | autotest |
Follower | string | Yes | The account ID of the subscriber. | 123 |
AlarmMode | integer | Yes | The notification method. Valid values: 1, 2, 4, 5, 6, 7, 8, and 9. The value 1 indicates that the notification is sent by email. The value 2 indicates that the notification is sent by email and text message. The value 4 indicates that the notification is sent by a DingTalk chatbot. The value 5 indicates that the notification is sent by a DingTalk chatbot to all members in a DingTalk group. The value 6 indicates that the notification is sent by Lark. The value 7 indicates that the notification is sent by WeCom. The value 8 indicates that the notification is sent by webhook. The value 9 indicates that the notification is sent by phone call. | 1 |
EntityId | long | Yes | The ID of the partition filter expression. | 12345 |
ProjectId | long | Yes | The DataWorks workspace ID. You can log on to the DataWorks console to query the ID. | 123 |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"Data": 12345,
"ErrorMessage": "You have no permission.",
"RequestId": "ecb967ec-c137-48****",
"ErrorCode": "401",
"Success": true
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-11-15 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
2023-03-08 | The request parameters of the API has changed | View Change Details |