Queries a list of data quality monitoring tasks by page.
Operation description
This API operation is available for all DataWorks editions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProjectId | long | Yes | The DataWorks workspace ID. | 100 |
TableGuid | string | No | The ID of the table in Data Map. | odps.unit_test.tb_unit_test |
Name | string | No | The name of the data quality monitoring task. Fuzzy match is supported. | |
PageSize | integer | No | The number of entries per page. Default value: 10. | 10 |
PageNumber | integer | No | The page number. Default value: 1. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "691CA452-D37A-4ED0-9441",
"PagingInfo": {
"TotalCount": "131",
"PageSize": "10",
"PageNumber": "1",
"DataQualityEvaluationTasks": [
{
"Id": 10001,
"Name": "",
"Description": "This is a daily run data quality evaluation plan",
"ProjectId": 100,
"Target": {
"Type": "Table",
"DatabaseType": "maxcompute",
"TableGuid": "odps.unit_test.tb_unit_test",
"PartitionSpec": "ds=$[yyyymmdd-1]"
},
"Trigger": {
"Type": "ByScheduledTaskInstance",
"TaskIds": [
10001
]
},
"RuntimeConf": "{ \"queue\": \"default\", \"sqlEngine\": \"SPARK-SQL\" }",
"Hooks": [
{
"Type": "BlockTaskInstance",
"Condition": "${severity} == \"High\" AND ${status} == \"Critical\""
}
],
"Notifications": {
"Condition": "${severity} == \"High\"",
"Notifications": [
{
"NotificationChannels": [
{
"Channels": [
"Mail"
]
}
],
"NotificationReceivers": [
{
"ReceiverType": "AliUid",
"ReceiverValues": [
"user1"
],
"Extension": "{\"atAll\":\"true\"}"
}
]
}
]
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-12-19 | The response structure of the API has changed | View Change Details |
2024-12-04 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
2024-11-06 | The response structure of the API has changed | View Change Details |