通过该接口,您可以查看周期拨测任务列表。
节流限制:您每秒最多可以提交5个API请求。
参数名称 | 数据类型 | 是否必选 | 参数说明 |
---|---|---|---|
Action | String | 是 | 接口名称。当前 API 的名称为 ListTask 。 |
Version | String | 是 | 接口版本。当前 API 的版本为 2023-08-31 。 |
参数名称 | 数据类型 | 是否必选 | 参数说明 | 示例 |
---|---|---|---|---|
PageSize | Long | 是 | 指定每页显示的任务数量。 | 20 |
PageNum | Long | 是 | 指定要检索的页码。 | 1 |
Name | String | 否 | 根据任务名称进行筛选,支持子串匹配。 | http-test |
ID | String | 否 | 根据任务ID进行筛选,支持子串匹配。 | 23309014 |
Address | String | 否 | 根据目标地址进行筛选,支持子串匹配。 | https://www.example.com |
Owner | String | 否 | 根据创建人进行筛选,支持子串匹配。 | root |
参数名称 | 数据类型 | 参数说明 | 示例 |
---|---|---|---|
TaskList | Object[] | 一个对象数组,包含了任务的详细信息列表。 | |
Pagination | Object | 表示查询结果的分页信息。 |
POST https://cloud-detect.volcengineapi.com?Action=ListTask&Version=2023-08-31 { "PageSize": 2, "PageNum": 2 }
{ "ResponseMetadata": { "RequestId": "20241223202708BC2E27A1E4D6FC3ED231", "Action": "ListTask", "Version": "2023-08-31", "Service": "cloud_detect", "Region": "cn-north-1" }, "Result": { "BaseResponse": { "Extra": null, "Logid": "", "ShowMessage": "", "StatusCode": 0, "StatusMessage": "" }, "Pagination": { "PageNum": 2, "PageSize": 2, "Total": 91 }, "TaskList": [ { "AccountID": null, "Address": "example.com:443", "AlarmConfig": null, "CreateTime": 1734940316, "DNSConfig": null, "DNSHijackConfig": null, "DiagnoseConfig": null, "DownloadConfig": null, "EnableShuffle": null, "FinishTime": 1735631489, "HTTPConfig": null, "HTTPMethod": null, "ID": 23309789, "IntervalName": "1分钟", "IntervalSeconds": 60, "IsPeriodic": null, "Labels": [], "LineCount": 29, "LineGroups": [], "LineIDList": null, "LineList": [ "中国-广东-广州市-中国电信(IDC)", "中国-China-BOE-boe-Bytedance(内网)", "中国-北京-北京市-中国联通(IDC)", "中国-广西-桂林市-火山引擎(IDC)", "中国-黑龙江-哈尔滨市-中国移动(IDC)", "中国-黑龙江-哈尔滨市-中国联通(IDC)", "中国-黑龙江-哈尔滨市-中国电信(IDC)", "中国-吉林-长春市-中国移动(IDC)", "中国-吉林-长春市-中国联通(IDC)", "中国-吉林-松原市-中国联通(IDC)", "中国-辽宁-大连市-中国移动(IDC)", "中国-辽宁-大连市-中国联通(IDC)", "中国-辽宁-大连市-中国电信(IDC)", "中国-北京-北京市-中国移动(IDC)", "中国-北京-北京市-中国电信(IDC)", "中国-上海-上海市-中国移动(IDC)", "中国-上海-上海市-中国联通(IDC)", "中国-上海-上海市-中国电信(IDC)", "中国-广东-广州市-中国移动(IDC)", "中国-广东-东莞市-中国联通(IDC)", "中国-湖北-武汉市-中国移动(IDC)", "中国-湖北-武汉市-中国联通(IDC)", "中国-湖北-武汉市-中国电信(IDC)", "中国-青海-西宁市-中国移动(IDC)", "中国-青海-西宁市-中国联通(IDC)", "中国-青海-西宁市-中国电信(IDC)", "中国-重庆-重庆市-中国移动(IDC)", "中国-重庆-重庆市-中国联通(IDC)", "中国-重庆-重庆市-中国电信(IDC)" ], "Name": "example.com:443", "Owner": "root", "PageConfig": null, "PeriodConfig": null, "PingConfig": null, "PrivateRunnerSelection": null, "ProjectName": "default", "ResultAssert": null, "RunnerIDList": null, "SelectionConfig": null, "Status": 2, "SubTaskType": 6, "TCPConfig": null, "TargetServerType": null, "TaskGroupID": 505100, "TaskGroupName": "tcp优化线上任务", "TaskType": 14, "UDPConfig": null, "UpdateTime": 1734940316, "UploadConfig": null, "UserID": null }, { "AccountID": null, "Address": "xx.xx.xx.xx:443", "AlarmConfig": null, "CreateTime": 1734940316, "DNSConfig": null, "DNSHijackConfig": null, "DiagnoseConfig": null, "DownloadConfig": null, "EnableShuffle": null, "FinishTime": 1735631489, "HTTPConfig": null, "HTTPMethod": null, "ID": 23309788, "IntervalName": "1分钟", "IntervalSeconds": 60, "IsPeriodic": null, "Labels": [], "LineCount": 29, "LineGroups": [], "LineIDList": null, "LineList": [ "中国-广东-广州市-中国电信(IDC)", "中国-China-BOE-boe-Bytedance(内网)", "中国-北京-北京市-中国联通(IDC)", "中国-广西-桂林市-火山引擎(IDC)", "中国-黑龙江-哈尔滨市-中国移动(IDC)", "中国-黑龙江-哈尔滨市-中国联通(IDC)", "中国-黑龙江-哈尔滨市-中国电信(IDC)", "中国-吉林-长春市-中国移动(IDC)", "中国-吉林-长春市-中国联通(IDC)", "中国-吉林-松原市-中国联通(IDC)", "中国-辽宁-大连市-中国移动(IDC)", "中国-辽宁-大连市-中国联通(IDC)", "中国-辽宁-大连市-中国电信(IDC)", "中国-北京-北京市-中国移动(IDC)", "中国-北京-北京市-中国电信(IDC)", "中国-上海-上海市-中国移动(IDC)", "中国-上海-上海市-中国联通(IDC)", "中国-上海-上海市-中国电信(IDC)", "中国-广东-广州市-中国移动(IDC)", "中国-广东-东莞市-中国联通(IDC)", "中国-湖北-武汉市-中国移动(IDC)", "中国-湖北-武汉市-中国联通(IDC)", "中国-湖北-武汉市-中国电信(IDC)", "中国-青海-西宁市-中国移动(IDC)", "中国-青海-西宁市-中国联通(IDC)", "中国-青海-西宁市-中国电信(IDC)", "中国-重庆-重庆市-中国移动(IDC)", "中国-重庆-重庆市-中国联通(IDC)", "中国-重庆-重庆市-中国电信(IDC)" ], "Name": "xx.xx.xx.xx:443", "Owner": "root", "PageConfig": null, "PeriodConfig": null, "PingConfig": null, "PrivateRunnerSelection": null, "ProjectName": "default", "ResultAssert": null, "RunnerIDList": null, "SelectionConfig": null, "Status": 2, "SubTaskType": 6, "TCPConfig": null, "TargetServerType": null, "TaskGroupID": 505100, "TaskGroupName": "tcp优化线上任务", "TaskType": 14, "UDPConfig": null, "UpdateTime": 1734940316, "UploadConfig": null, "UserID": null } ] } }